Sdílet prostřednictvím


Class SPXIntentRecognitionCanceledEventArgs

Declaration

@class SPXIntentRecognitionCanceledEventArgs : SPXIntentRecognitionEventArgs;

Description

Defines the payload of intent recognition canceled result events.

Properties

reason

@property (readonly, atomic) SPXCancellationReason reason;

The reason 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).