public static enum IMediaListener.PlayState extends java.lang.Enum<IMediaListener.PlayState>
Enum Constant and Description |
---|
ENDED |
PAUSED |
PLAYING |
STALL_RECOVERED |
STALLED |
Modifier and Type | Method and Description |
---|---|
static IMediaListener.PlayState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMediaListener.PlayState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMediaListener.PlayState PLAYING
public static final IMediaListener.PlayState PAUSED
public static final IMediaListener.PlayState ENDED
public static final IMediaListener.PlayState STALLED
public static final IMediaListener.PlayState STALL_RECOVERED
public static IMediaListener.PlayState[] values()
for (IMediaListener.PlayState c : IMediaListener.PlayState.values()) System.out.println(c);
public static IMediaListener.PlayState 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