Package com.amazonaws.ivs.broadcast
Enum Stage.SubscribeState
- java.lang.Object
- 
- java.lang.Enum<Stage.SubscribeState>
- 
- com.amazonaws.ivs.broadcast.Stage.SubscribeState
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<Stage.SubscribeState>
 - Enclosing class:
- Stage
 
 public static enum Stage.SubscribeState extends java.lang.Enum<Stage.SubscribeState> The various potential subscribe states for a participant
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ATTEMPTING_SUBSCRIBEAn subscription is being established to the remote participantNOT_SUBSCRIBEDThe participant is not being subscribed toSUBSCRIBEDThere is a connected subscription to the remote participant
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Stage.SubscribeStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Stage.SubscribeState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NOT_SUBSCRIBEDpublic static final Stage.SubscribeState NOT_SUBSCRIBED The participant is not being subscribed to
 - 
ATTEMPTING_SUBSCRIBEpublic static final Stage.SubscribeState ATTEMPTING_SUBSCRIBE An subscription is being established to the remote participant
 - 
SUBSCRIBEDpublic static final Stage.SubscribeState SUBSCRIBED There is a connected subscription to the remote participant
 
- 
 - 
Method Detail- 
valuespublic static Stage.SubscribeState[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Stage.SubscribeState c : Stage.SubscribeState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Stage.SubscribeState valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-