class Speaker::VoiceProfileCancellationDetails

Class for VoiceProfileCancellationDetails. This class represents error details of a voice profile result.

Members

ErrorCode

Syntax: public const CancellationErrorCode & ErrorCode;

The error code in case of an unsuccessful voice profile action(Reason is set to Error). If Reason is not Error, ErrorCode is set to NoError.

ErrorDetails

Syntax: public const std::string ErrorDetails;

The error message in case of an unsuccessful voice profile action(Reason is set to Error).

FromResult

Syntax: public inline static std::shared_ptr< VoiceProfileCancellationDetails > FromResult ( std::shared_ptr< VoiceProfileResult > result );

Creates an instance of VoiceProfileCancellationDetails object for the canceled VoiceProfile.

Parameters

  • result The result that was canceled.

Returns

A shared pointer to VoiceProfileCancellationDetails.