Represents the details of a canceled speaker recognition result.
public const CancellationReason & Reason;
The reason the result was canceled.
public const CancellationErrorCode & ErrorCode;
The error code in case of an unsuccessful speaker recognition (Reason is set to Error). If Reason is not Error, ErrorCode is set to NoError.
public const std::string ErrorDetails;
The error message in case of an unsuccessful speaker recognition (Reason is set to Error).
public inline static std::shared_ptr< SpeakerRecognitionCancellationDetails > FromResult ( std::shared_ptr< SpeakerRecognitionResult > result );
Creates an instance of SpeakerRecognitionCancellationDetails object for the canceled speaker recognition result.
resultThe result that was canceled.
A shared pointer to SpeakerRecognitionCancellationDetails.