Enum SeatMediaPlayerInfo.PlaybackState
- java.lang.Object
-
- java.lang.Enum<SeatMediaPlayerInfo.PlaybackState>
-
- aero.panasonic.inflight.services.pairing.v1.model.SeatMediaPlayerInfo.PlaybackState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SeatMediaPlayerInfo.PlaybackState>
- Enclosing class:
- SeatMediaPlayerInfo
public static enum SeatMediaPlayerInfo.PlaybackState extends java.lang.Enum<SeatMediaPlayerInfo.PlaybackState>
The playback state value can be unknown, stopped, playing or paused.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PAUSEDPlayback state is paused.PLAYBACK_COMPLETEDPlayback state is playback completed.PLAYINGPlayback state is playing.STOPPEDPlayback state is stopped.UNKNOWNPlayback state is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SeatMediaPlayerInfo.PlaybackStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SeatMediaPlayerInfo.PlaybackState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SeatMediaPlayerInfo.PlaybackState UNKNOWN
Playback state is unknown.
-
STOPPED
public static final SeatMediaPlayerInfo.PlaybackState STOPPED
Playback state is stopped.
-
PLAYING
public static final SeatMediaPlayerInfo.PlaybackState PLAYING
Playback state is playing.
-
PAUSED
public static final SeatMediaPlayerInfo.PlaybackState PAUSED
Playback state is paused.
-
PLAYBACK_COMPLETED
public static final SeatMediaPlayerInfo.PlaybackState PLAYBACK_COMPLETED
Playback state is playback completed.
-
-
Method Detail
-
values
public static SeatMediaPlayerInfo.PlaybackState[] 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 (SeatMediaPlayerInfo.PlaybackState c : SeatMediaPlayerInfo.PlaybackState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SeatMediaPlayerInfo.PlaybackState 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
-
-