Represents the cancellation details of a result of an enrollment. Added in version 1.12.0.
public const CancellationErrorCode & ErrorCode;
The error code in case of an unsuccessful enrollment (Reason is set to Error).
public const std::string ErrorDetails;
The error message in case of an unsuccessful enrollment (Reason is set to Error).
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.
resulta voice profile enrollment result object.
a smart pointer of voice profile enrollment cancellation details object.