Class IntentRecognitionEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.RecognitionEventArgs
-
- com.microsoft.cognitiveservices.speech.intent.IntentRecognitionEventArgs
-
- Direct Known Subclasses:
IntentRecognitionCanceledEventArgs
public class IntentRecognitionEventArgs extends RecognitionEventArgs
Defines content of an intent 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 IntentRecognitionResultgetResult()Represents the intent recognition result.StringtoString()Returns a String that represents the session id and the intent 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 IntentRecognitionResult getResult()
Represents the intent recognition result.- Returns:
- Represents the intent recognition result.
-
toString
public String toString()
Returns a String that represents the session id and the intent recognition result event.- Overrides:
toStringin classRecognitionEventArgs- Returns:
- A String that represents the intent recognition result event.
-
-