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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescriptionstatic Player.StateReturns 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- 
BUFFERINGIndicates that the Player is buffering content.
- 
PLAYINGIndicates that the Player is playing.
- 
READYIndicates that the Player is ready to play the loaded source.
- 
IDLEIndicates that the Player is idle. This is the initial state.
- 
ENDEDIndicates that the Player reached the end of the stream.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-