Package com.amazonaws.ivs.broadcast
Enum Class RemoteStageStream.LayerSelectedReason
java.lang.Object
java.lang.Enum<RemoteStageStream.LayerSelectedReason>
com.amazonaws.ivs.broadcast.RemoteStageStream.LayerSelectedReason
- All Implemented Interfaces:
Serializable
,Comparable<RemoteStageStream.LayerSelectedReason>
,Constable
- Enclosing class:
RemoteStageStream
public static enum RemoteStageStream.LayerSelectedReason
extends Enum<RemoteStageStream.LayerSelectedReason>
The reasons for a layer changing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe preferred layer set by the developer has been selected.When a layer is unavailable, this means the SDK or SFU can no longer surface the layer, and a new best effort layer has been selected. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNAVAILABLE
When a layer is unavailable, this means the SDK or SFU can no longer surface the layer, and a new best effort layer has been selected. Layer availability will also be notified via the onLayersChanged event. -
SELECTED
The preferred layer set by the developer has been selected.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-