public static enum OneshotKernel.EngineState extends java.lang.Enum<OneshotKernel.EngineState>
Enum Constant and Description |
---|
STATE_ERROR
错误状态
|
STATE_IDLE
空闲状态
|
STATE_NEWED
初始化完毕等待就绪状态
|
STATE_RUNNING
录音中或运行中状态
|
STATE_WAITING
录音停止,等待结果状态
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static OneshotKernel.EngineState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OneshotKernel.EngineState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OneshotKernel.EngineState STATE_IDLE
public static final OneshotKernel.EngineState STATE_NEWED
public static final OneshotKernel.EngineState STATE_RUNNING
public static final OneshotKernel.EngineState STATE_WAITING
public static final OneshotKernel.EngineState STATE_ERROR
public static OneshotKernel.EngineState[] values()
for (OneshotKernel.EngineState c : OneshotKernel.EngineState.values()) System.out.println(c);
public static OneshotKernel.EngineState 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 int getValue()