Delen via


Class SPXSpeechRecognitionCanceledEventArgs

Declaration

@class SPXSpeechRecognitionCanceledEventArgs : SPXSpeechRecognitionEventArgs;

Description

Defines the payload of speech recognition canceled events.

Properties

reason

@property (readonly, atomic) SPXCancellationReason reason;

The reason why the recognition was canceled.

errorCode

@property (readonly, atomic) SPXCancellationErrorCode errorCode;

The error code in case of an unsuccessful recognition (reason is set to Error).

Added in version 1.1.0.

errorDetails

@property (readonly, copy, atomic) NSString * _Nullable errorDetails;

The error message in case of an unsuccessful recognition (reason is set to Error).