类 Speaker::VoiceProfileEnrollmentCancellationDetails

表示注册结果的取消详细信息。 在版本 1.12.0 中添加。

成员

ErrorCode

语法: public const CancellationErrorCode & ErrorCode;

注册失败时 (原因“的错误代码设置为”错误) 。

ErrorDetails

语法: public const std::string ErrorDetails;

注册失败时 (原因“的错误消息设置为”错误) 。

FromResult

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

创建一个 对象,该对象表示已取消注册结果的详细信息。

参数

  • result 语音配置文件注册结果对象。

返回

语音配置文件注册取消详细信息对象的智能指针。