TranslationRecognitionEventArgs class
Translation text result event arguments.
- Extends
Constructors
Translation |
Creates and initializes an instance of this class. |
Properties
offset | Represents the message offset |
result | Specifies the recognition result. |
session |
Represents the session identifier. |
Constructor Details
TranslationRecognitionEventArgs(TranslationRecognitionResult, number, string)
Creates and initializes an instance of this class.
new TranslationRecognitionEventArgs(result: TranslationRecognitionResult, offset?: number, sessionId?: string)
Parameters
- result
- TranslationRecognitionResult
The translation recognition result.
- offset
-
number
The offset.
- sessionId
-
string
The session id.
Property Details
offset
Represents the message offset
number offset
Property Value
number
result
Specifies the recognition result.
TranslationRecognitionResult result
Property Value
the recognition result.
sessionId
Represents the session identifier.
string sessionId
Property Value
string
Represents the session identifier.