class SpeechRecognitionCanceledEventArgs
class SpeechRecognitionCanceledEventArgs
: public SpeechRecognitionEventArgs
Class for speech 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).
SpeechRecognitionCanceledEventArgs
Syntax: public inline explicit SpeechRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );
Constructor.
Parameters
hevent
Event handle
~SpeechRecognitionCanceledEventArgs
Syntax: public inline virtual ~SpeechRecognitionCanceledEventArgs ( );