Package com.amazonaws.ivs.player
Enum Class Player.State
- All Implemented Interfaces:
Serializable
,Comparable<Player.State>
,Constable
- Enclosing interface:
- Player
Represents the current state of a player instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the Player is buffering content.Indicates that the Player reached the end of the stream.Indicates that the Player is idle.Indicates that the Player is playing.Indicates that the Player is ready to play the loaded source. -
Method Summary
Modifier and TypeMethodDescriptionstatic Player.State
Returns the enum constant of this class with the specified name.static Player.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUFFERING
Indicates that the Player is buffering content. -
PLAYING
Indicates that the Player is playing. -
READY
Indicates that the Player is ready to play the loaded source. -
IDLE
Indicates that the Player is idle. This is the initial state. -
ENDED
Indicates that the Player reached the end of the stream.
-
-
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
-