Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
class Speaker::VoiceProfileClient
: public std::enable_shared_from_this< VoiceProfileClient >
Klasse für VoiceProfileClient. Diese Klasse erstellt den VoIP-Profilclient zum Erstellen, Durchführen der Registrierung, Löschen und Zurücksetzen eines VoIP-Profils. In Version 1.12.0 hinzugefügt.
Elemente
Eigenschaften
Syntax: public PropertyCollection & Properties;
Eine Auflistung von Eigenschaften und deren Werten, die für diesen VoiceProfileClient definiert sind.
~VoiceProfileClient
Syntax: public inline virtual ~VoiceProfileClient ( );
Destruktor.
CreateProfileAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfile > > CreateProfileAsync ( VoiceProfileType profileType , const std::string & locale );
Erstellen Sie ein VoIP-Profil.
Die Parameter
profileType
einen VoiceProfile-Typ.locale
eines Gebietsschemas, z. B. "en-us"
Rückgaben
Ein intelligentes Zeiger-Clientobjekt mit VoIP-Profil.
EnrollProfileAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfileEnrollmentResult > > EnrollProfileAsync ( std::shared_ptr< VoiceProfile > profile , std::shared_ptr< Audio::AudioConfig > audioInput );
Registrieren sie ein VoIP-Profil.
Die Parameter
profile
ein VoIP-Profilobjekt.audioInput
einer Audioeingabe.
Rückgaben
Ein intelligentes Zeigerergebnisobjekt für die Sprachprofilregistrierung.
DeleteProfileAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfileResult > > DeleteProfileAsync ( std::shared_ptr< VoiceProfile > profile );
Löschen eines VoIP-Profils.
Die Parameter
-
profile
ein VoIP-Profilobjekt.
Rückgaben
Ein intelligentes Zeigerergebnisobjekt mit Sprachprofil.A smart pointer wrapped voice profile result object.
ResetProfileAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfileResult > > ResetProfileAsync ( std::shared_ptr< VoiceProfile > profile );
Zurücksetzen eines VoIP-Profils.
Die Parameter
-
profile
ein VoIP-Profilobjekt.
Rückgaben
Ein intelligentes Zeigerergebnisobjekt mit Sprachprofil.A smart pointer wrapped voice profile result object.
RetrieveEnrollmentResultAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfileEnrollmentResult > > RetrieveEnrollmentResultAsync ( const std::string & voiceProfileId , VoiceProfileType voiceProfileType );
Rufen Sie ein Registrierungsergebnis anhand der ID und des Typs des VoIP-Profils ab.
Die Parameter
voiceProfileId
Die VoiceProfile-ID.voiceProfileType
VoiceProfileType.
Rückgaben
Eine Zukunft des abgerufenen VoiceProfileEnrollmentResult.
RetrieveEnrollmentResultAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfileEnrollmentResult > > RetrieveEnrollmentResultAsync ( const VoiceProfile & voiceProfile );
Abrufen eines Registrierungsergebnisses aufgrund des VoIP-Profils.
Die Parameter
-
voiceProfile
ein VoIP-Profilobjekt.
Rückgaben
GetAllProfilesAsync
Syntax: public inline std::future< std::vector< std::shared_ptr< VoiceProfile > > > GetAllProfilesAsync ( VoiceProfileType voiceProfileType );
Rufen Sie alle Profile ab, die den angegebenen Typ aufweisen.
Die Parameter
-
voiceProfileType
VoiceProfileType.
Rückgaben
Eine Zukunft eines Vektors von extant VoiceProfiles.
GetActivationPhrasesAsync
Syntax: public inline std::future< std::shared_ptr< VoiceProfilePhraseResult > > GetActivationPhrasesAsync ( VoiceProfileType voiceProfileType , const std::string & locale );
Operator SPXVOICEPROFILECLIENTHANDLE
Syntax: public inline explicit operator SPXVOICEPROFILECLIENTHANDLE ( );
Intern. Expliziter Konvertierungsoperator.
Rückgaben
Ein Handle.
FromConfig
Syntax: public inline static std::shared_ptr< VoiceProfileClient > FromConfig ( std::shared_ptr< SpeechConfig > speechConfig );
Erstellen Sie einen VoIP-Profilclient aus einer Sprachkonfiguration.
Die Parameter
-
speechConfig
Sprachkonfiguration.
Rückgaben
Ein intelligenter Zeiger, der sprachprofil-Clientzeiger umschlossen ist.