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