public static enum Constants.MediaPlayerPreloadEvent extends java.lang.Enum<Constants.MediaPlayerPreloadEvent>
Enum Constant and Description |
---|
PLAYER_PRELOAD_EVENT_BEGIN |
PLAYER_PRELOAD_EVENT_COMPLETE |
PLAYER_PRELOAD_EVENT_ERROR |
Modifier and Type | Method and Description |
---|---|
static Constants.MediaPlayerPreloadEvent |
fromNativeIndex(int nativeIndex) |
static Constants.MediaPlayerPreloadEvent |
getTypeByValue(int value) |
static int |
getValue(Constants.MediaPlayerPreloadEvent type) |
static Constants.MediaPlayerPreloadEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaPlayerPreloadEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaPlayerPreloadEvent PLAYER_PRELOAD_EVENT_BEGIN
public static final Constants.MediaPlayerPreloadEvent PLAYER_PRELOAD_EVENT_COMPLETE
public static final Constants.MediaPlayerPreloadEvent PLAYER_PRELOAD_EVENT_ERROR
public static Constants.MediaPlayerPreloadEvent[] values()
for (Constants.MediaPlayerPreloadEvent c : Constants.MediaPlayerPreloadEvent.values()) System.out.println(c);
public static Constants.MediaPlayerPreloadEvent 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 nullpublic static int getValue(Constants.MediaPlayerPreloadEvent type)
public static Constants.MediaPlayerPreloadEvent fromNativeIndex(int nativeIndex)
public static Constants.MediaPlayerPreloadEvent getTypeByValue(int value)