public static enum Player.MediaPlayerState extends java.lang.Enum<Player.MediaPlayerState>
Enum Constant and Description |
---|
Error |
Idle |
Initialized |
Null |
Paused |
PlaybackCompleted |
Prepared |
Started |
Stopped |
Modifier and Type | Method and Description |
---|---|
static Player.MediaPlayerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Player.MediaPlayerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Player.MediaPlayerState Null
public static final Player.MediaPlayerState Idle
public static final Player.MediaPlayerState Initialized
public static final Player.MediaPlayerState Prepared
public static final Player.MediaPlayerState Started
public static final Player.MediaPlayerState Stopped
public static final Player.MediaPlayerState PlaybackCompleted
public static final Player.MediaPlayerState Paused
public static final Player.MediaPlayerState Error
public static Player.MediaPlayerState[] values()
for (Player.MediaPlayerState c : Player.MediaPlayerState.values()) System.out.println(c);
public static Player.MediaPlayerState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null