public final class InputStartedEvent extends SpokenInputEvent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DETAIL
The detailing part.
|
static java.lang.String |
EVENT_TYPE
The detail message.
|
INPUT_STARTED, RECOGNITION_STARTED, RECOGNITION_STOPPED, RESULT_ACCEPTED, RESULT_REJECTED| Constructor and Description |
|---|
InputStartedEvent(SpokenInput input,
java.lang.String sessionId,
org.jvoicexml.xml.srgs.ModeType modeType)
Constructs a new event with the event type as its detail message.
|
| Modifier and Type | Method and Description |
|---|---|
org.jvoicexml.xml.srgs.ModeType |
getMode()
Retrieves the mode type.
|
getEventType, getSessionId, getSourcegetMessage, isTypepublic static final java.lang.String DETAIL
public static final java.lang.String EVENT_TYPE
public InputStartedEvent(SpokenInput input, java.lang.String sessionId, org.jvoicexml.xml.srgs.ModeType modeType)
The DETAIL is used to construct the event type.
input - object that caused the event.sessionId - the session idmodeType - input modeSpokenInputEvent.getEventType()