Package com.amazonaws.ivs.broadcast
Enum ParticipantInfo.Capabilities
- java.lang.Object
-
- java.lang.Enum<ParticipantInfo.Capabilities>
-
- com.amazonaws.ivs.broadcast.ParticipantInfo.Capabilities
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParticipantInfo.Capabilities>
- Enclosing class:
- ParticipantInfo
public static enum ParticipantInfo.Capabilities extends java.lang.Enum<ParticipantInfo.Capabilities>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParticipantInfo.Capabilities
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParticipantInfo.Capabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISH
public static final ParticipantInfo.Capabilities PUBLISH
If a participant can publish or not
-
SUBSCRIBE
public static final ParticipantInfo.Capabilities SUBSCRIBE
If a participant can be subscribed or not
-
-
Method Detail
-
values
public static ParticipantInfo.Capabilities[] 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 (ParticipantInfo.Capabilities c : ParticipantInfo.Capabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParticipantInfo.Capabilities 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 namejava.lang.NullPointerException
- if the argument is null
-
-