org.jvoicexml.event.plain.jvxml
Class RecognitionEvent
java.lang.Object
java.lang.Throwable
org.jvoicexml.event.JVoiceXMLEvent
org.jvoicexml.event.PlainEvent
org.jvoicexml.event.plain.jvxml.RecognitionEvent
- All Implemented Interfaces:
- Serializable
public class RecognitionEvent
- extends PlainEvent
The user has responded within the timeout interval.
- Version:
- $Revision: 201 $
Copyright © 2005-2006 JVoiceXML group -
http://jvoicexml.sourceforge.net/
- Author:
- Dirk Schnelle
- See Also:
- Serialized Form
EVENT_TYPE
public static final String EVENT_TYPE
- The detail message.
RecognitionEvent
public RecognitionEvent(RecognitionResult recognitionResult)
- Constructs a new event with the event type as its detail message. The
cause is not initialized.
- Parameters:
recognitionResult - Result of the recognition process.
getEventType
public final String getEventType()
- Get the event type of this event.
- Specified by:
getEventType in class JVoiceXMLEvent
- Returns:
- Event type.
getRecognitionResult
public final RecognitionResult getRecognitionResult()
- Retrieves the resultof the recognition process.
- Returns:
- RecognitionResult
Copyright © 2005-2007 JVoiceXML group.