class Translation::TranslationRecognitionCanceledEventArgs
class Translation::TranslationRecognitionCanceledEventArgs
: public Translation::TranslationRecognitionEventArgs
Class for translation recognition canceled event arguments.
Members
Reason
Syntax: public const CancellationReason & Reason;
The reason the result was canceled.
ErrorCode
Syntax: public const CancellationErrorCode & ErrorCode;
The error code in case of an unsuccessful recognition (Reason is set to Error). If Reason is not Error, ErrorCode is set to NoError. Added in version 1.1.0.
ErrorDetails
Syntax: public const std::string ErrorDetails;
The error message in case of an unsuccessful recognition (Reason is set to Error).
TranslationRecognitionCanceledEventArgs
Syntax: public inline explicit TranslationRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );
Constructor.
Parameters
hevent
Event handle
~TranslationRecognitionCanceledEventArgs
Syntax: public inline virtual ~TranslationRecognitionCanceledEventArgs ( );