public static enum CommonDefine.PLAY_STATE extends java.lang.Enum<CommonDefine.PLAY_STATE>
枚举常量和说明 |
---|
STATE_PAUSE
暂停中
|
STATE_PLAYING
播放中
|
STATE_PREPARED
准备完成
|
STATE_PREPARING
准备中
|
STATE_STOP
停止状态
|
限定符和类型 | 方法和说明 |
---|---|
static CommonDefine.PLAY_STATE |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CommonDefine.PLAY_STATE[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CommonDefine.PLAY_STATE STATE_PREPARING
public static final CommonDefine.PLAY_STATE STATE_PREPARED
public static final CommonDefine.PLAY_STATE STATE_PLAYING
public static final CommonDefine.PLAY_STATE STATE_PAUSE
public static final CommonDefine.PLAY_STATE STATE_STOP
public static CommonDefine.PLAY_STATE[] values()
for (CommonDefine.PLAY_STATE c : CommonDefine.PLAY_STATE.values()) System.out.println(c);
public static CommonDefine.PLAY_STATE valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值