Dela via


class Speaker::VoiceProfileCancellationDetails

Klass för VoiceProfileCancellationDetails. Den här klassen representerar felinformation för ett röstprofilresultat.

Medlemmar

Felkod

Syntax: public const CancellationErrorCode & ErrorCode;

Felkoden i händelse av 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 i händelse av en misslyckad röstprofilåtgärd (Orsaken är inställd 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.

Parameterar

  • result Resultatet som avbröts.

Återlämning

En delad pekare till VoiceProfileCancellationDetails.