public enum InterpreterState extends java.lang.Enum<InterpreterState>
<field>, <record>, or
<transfer>), or
<link>s) may not be active at all times. However, DTMF
input (including timing information) should be collected and buffered in the
transition state. Similarly, asynchronously generated events not related
directly to execution of the transition should also be buffered until the
waiting state (e.g. connection.disconnect.hangup).
| Enum Constant and Description |
|---|
TRANSITIONING
The interpreter is transitioning between input items in response to an
input (including spoken utterances, dtmf key presses, and input-related
events such as a noinput or nomatch event) received while in the waiting
state.
|
WAITING
The interpreter is waiting for input in an input item (such as
<field>, <record>, or
<transfer>). |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStateName()
Retrieves the name of this state.
|
static InterpreterState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterpreterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterpreterState WAITING
<field>, <record>, or
<transfer>).public static final InterpreterState TRANSITIONING
<link>s) may not be
active at all times. However, DTMF input (including timing information)
should be collected and buffered in the transition state. Similarly,
asynchronously generated events not related directly to execution of the
transition should also be buffered until the waiting state (e.g.
connection.disconnect.hangup).public static InterpreterState[] values()
for (InterpreterState c : InterpreterState.values()) System.out.println(c);
public static InterpreterState 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 java.lang.String getStateName()