public final class NomatchEvent extends SpokenInputEvent implements InputEvent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENT_TYPE
The detail message.
|
INPUT_STARTED, RECOGNITION_STARTED, RECOGNITION_STOPPED, RESULT_ACCEPTED, RESULT_REJECTED| Constructor and Description |
|---|
NomatchEvent(SpokenInput input,
java.lang.String sessionId,
RecognitionResult recognitionResult)
Constructs a new event with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventType()
Get the event type of this event.
|
java.lang.Object |
getInputResult()
Retrieves the result of the input process.
|
RecognitionResult |
getRecognitionResult()
Retrieves the result of the recognition process.
|
getSessionId, getSourcegetMessage, isTypepublic static final java.lang.String EVENT_TYPE
public NomatchEvent(SpokenInput input, java.lang.String sessionId, RecognitionResult recognitionResult)
input - the input initiating this eventsessionId - the session idrecognitionResult - the recognition resultpublic java.lang.String getEventType()
getEventType in class SpokenInputEventpublic RecognitionResult getRecognitionResult()
public java.lang.Object getInputResult()
getInputResult in interface InputEvent