class Speaker::VoiceProfilePhraseCancellationDetails
Class for VoiceProfilePhraseCancellationDetails. 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< VoiceProfilePhraseCancellationDetails > FromResult ( std::shared_ptr< VoiceProfilePhraseResult > result );
Creates an instance of VoiceProfilePhraseCancellationDetails object for the canceled VoiceProfile.
Parameters
result
The result that was canceled.
Returns
A shared pointer to VoiceProfilePhraseCancellationDetails.