public static enum MediaEvent.EventId extends java.lang.Enum<MediaEvent.EventId>
Enum Constant and Description |
---|
MEDIA_ENDED |
MEDIA_ERROR |
MEDIA_LOAD_INITIATED |
MEDIA_LOADED |
MEDIA_LOADED_TIMES_CHANGED |
MEDIA_PAUSED |
MEDIA_PLAYBACK_BUFFER_EMPTY_CHANGED |
MEDIA_PLAYING |
MEDIA_READY_TO_PLAY |
MEDIA_STALL_RECOVERED |
MEDIA_STALLED |
MEDIA_UNLOADED |
Modifier and Type | Method and Description |
---|---|
static MediaEvent.EventId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaEvent.EventId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaEvent.EventId MEDIA_LOADED
public static final MediaEvent.EventId MEDIA_UNLOADED
public static final MediaEvent.EventId MEDIA_PAUSED
public static final MediaEvent.EventId MEDIA_PLAYING
public static final MediaEvent.EventId MEDIA_ENDED
public static final MediaEvent.EventId MEDIA_ERROR
public static final MediaEvent.EventId MEDIA_STALLED
public static final MediaEvent.EventId MEDIA_STALL_RECOVERED
public static final MediaEvent.EventId MEDIA_LOAD_INITIATED
public static final MediaEvent.EventId MEDIA_LOADED_TIMES_CHANGED
public static final MediaEvent.EventId MEDIA_PLAYBACK_BUFFER_EMPTY_CHANGED
public static final MediaEvent.EventId MEDIA_READY_TO_PLAY
public static MediaEvent.EventId[] values()
for (MediaEvent.EventId c : MediaEvent.EventId.values()) System.out.println(c);
public static MediaEvent.EventId 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