Class KeywordRecognitionEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.RecognitionEventArgs
-
- com.microsoft.cognitiveservices.speech.KeywordRecognitionEventArgs
-
public class KeywordRecognitionEventArgs extends RecognitionEventArgs
Defines content of an keyword recognizing/recognized events.
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.RecognitionEventArgs
offset
-
Fields inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
eventHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordRecognitionResultgetResult()Represents the keyword recognition result.StringtoString()Returns a String that represents the session id and the keyword recognition result event.-
Methods inherited from class com.microsoft.cognitiveservices.speech.RecognitionEventArgs
getRecognitionResult
-
Methods inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
close, getSessionId
-
-
-
-
Method Detail
-
getResult
public final KeywordRecognitionResult getResult()
Represents the keyword recognition result.- Returns:
- Represents the keyword recognition result.
-
toString
public String toString()
Returns a String that represents the session id and the keyword recognition result event.- Overrides:
toStringin classRecognitionEventArgs- Returns:
- A String that represents the keyword recognition result event.
-
-