public final class RecognitionStartedEvent 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 |
|---|
RecognitionStartedEvent(SpokenInput input,
java.lang.String sessionId)
Constructs a new event with the event type as its detail message.
|
getEventType, getSessionId, getSourcegetMessage, isTypepublic static final java.lang.String DETAIL
public static final java.lang.String EVENT_TYPE
public RecognitionStartedEvent(SpokenInput input, java.lang.String sessionId)
The DETAIL is used to construct the event type.
input - object that caused the event.sessionId - the session idSpokenInputEvent.getEventType()