class Speaker::VoiceProfileCancellationDetails
Klass för VoiceProfileCancellationDetails. Den här klassen representerar felinformation om ett röstprofilresultat.
Medlemmar
Felkod
Syntax: public const CancellationErrorCode & ErrorCode;
Felkoden vid en misslyckad röstprofilåtgärd (Orsak är inställd på Fel). Om Orsaken inte är Fel är ErrorCode inställt på NoError.
ErrorDetails
Syntax: public const std::string ErrorDetails;
Felmeddelandet vid en misslyckad röstprofilåtgärd (Orsak är inställt på Fel).
FromResult
Syntax: public inline static std::shared_ptr< VoiceProfileCancellationDetails > FromResult ( std::shared_ptr< VoiceProfileResult > result );
Skapar en instans av VoiceProfileCancellationDetails-objektet för den avbrutna VoiceProfile.
Parametrar
-
result
Resultatet som avbröts.
Returer
En delad pekare till VoiceProfileCancellationDetails.