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.
  • Enum Constant Details

    • UNAVAILABLE

      public static final RemoteStageStream.LayerSelectedReason 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

      public static final RemoteStageStream.LayerSelectedReason SELECTED
      The preferred layer set by the developer has been selected.
  • Method Details

    • values

      public static RemoteStageStream.LayerSelectedReason[] 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

      public static RemoteStageStream.LayerSelectedReason valueOf(String name)
      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 name
      NullPointerException - if the argument is null