共用方式為


Class SPXConversationTranscriptionCanceledEventArgs

Declaration

@class SPXConversationTranscriptionCanceledEventArgs : SPXConversationTranscriptionEventArgs;

Description

Defines the payload of conversation transcription canceled result events.

Properties

reason

@property (readonly, atomic) SPXCancellationReason reason;

The reason the trancription was canceled.

errorCode

@property (readonly, atomic) SPXCancellationErrorCode errorCode;

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

errorDetails

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

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