class Speaker::VoiceProfileEnrollmentCancellationDetails

Represents the cancellation details of a result of an enrollment. Added in version 1.12.0.

Members

ErrorCode

Syntax: public const CancellationErrorCode & ErrorCode;

The error code in case of an unsuccessful enrollment (Reason is set to Error).

ErrorDetails

Syntax: public const std::string ErrorDetails;

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

FromResult

Syntax: public inline static std::shared_ptr< VoiceProfileEnrollmentCancellationDetails > FromResult ( std::shared_ptr< VoiceProfileEnrollmentResult > result );

Create an object that represents the details of a canceled enrollment result.

Parameters

  • result a voice profile enrollment result object.

Returns

a smart pointer of voice profile enrollment cancellation details object.