classe Transcription::Réunion
class Transcription::Meeting
: public std::enable_shared_from_this< Meeting >
Classe pour la réunion.
Membres
Propriétés
Syntaxe : public PropertyCollection & Properties;
Collection de propriétés et leurs valeurs définies pour cette réunion.
Réunion
Syntaxe : public inline explicit Meeting ( SPXMEETINGHANDLE hmeeting );
Constructeur interne. Crée un instance à l’aide du handle fourni.
Paramètres
-
hmeeting
Handle recognizer.
~Réunion
Syntaxe : public inline ~Meeting ( );
Destructeur.
opérateur SPXMEETINGHANDLE
Syntaxe : public inline explicit operator SPXMEETINGHANDLE ( ) const;
Opérateur interne utilisé pour obtenir la valeur de handle sous-jacente.
Retours
Handle.
GetMeetingId
Syntaxe : public inline std::string GetMeetingId ( );
Obtenez l’ID de réunion.
Retours
ID de réunion.
AddParticipantAsync
Syntaxe : public inline std::future< std::shared_ptr< Participant > > AddParticipantAsync ( const std::string & userId );
Ajoutez un participant à une réunion à l’aide de l’ID de l’utilisateur.
Remarque : Le participant retourné peut être utilisé pour supprimer. Si le client modifie les attributs du participant, les attributs modifiés sont transmis au service uniquement lorsque le participant est à nouveau ajouté.
Paramètres
-
userId
ID d’utilisateur.
Retours
pointeur intelligent partagé du participant.
AddParticipantAsync
Syntaxe : public inline std::future< std::shared_ptr< User > > AddParticipantAsync ( const std::shared_ptr< User > & user );
Ajoutez un participant à une réunion à l’aide de l’objet User.
Paramètres
-
user
Pointeur intelligent partagé vers un objet User.
Retours
Objet passé dans User.
AddParticipantAsync
Syntaxe : public inline std::future< std::shared_ptr< Participant > > AddParticipantAsync ( const std::shared_ptr< Participant > & participant );
Ajouter un participant à une réunion à l’aide de l’objet participant.
Paramètres
-
participant
Pointeur intelligent partagé vers un objet participant.
Retours
Objet participant passé.
RemoveParticipantAsync
Syntaxe : public inline std::future< void > RemoveParticipantAsync ( const std::shared_ptr< Participant > & participant );
Supprimez un participant d’une réunion à l’aide de l’objet participant.
Paramètres
-
participant
Pointeur intelligent partagé d’un objet participant.
Retours
Un avenir vide.
RemoveParticipantAsync
Syntaxe : public inline std::future< void > RemoveParticipantAsync ( const std::shared_ptr< User > & user );
Supprimer un participant d’une réunion à l’aide de l’objet User.
Paramètres
-
user
Pointeur intelligent d’un utilisateur.
Retours
Un avenir vide.
RemoveParticipantAsync
Syntaxe : public inline std::future< void > RemoveParticipantAsync ( const std::string & userId );
Supprimer un participant d’une réunion à l’aide d’une chaîne d’ID utilisateur.
Paramètres
-
userId
ID d’utilisateur.
Retours
Un avenir vide.
EndMeetingAsync
Syntaxe : public inline std::future< void > EndMeetingAsync ( );
Met fin à la réunion en cours.
Retours
Un avenir vide.
SetAuthorizationToken
Syntaxe : public inline void SetAuthorizationToken ( const std::string & token );
Définit le jeton d’autorisation qui sera utilisé pour la connexion du serveur.
Paramètres
-
token
Jeton d’autorisation.
GetAuthorizationToken
Syntaxe : public inline std::string GetAuthorizationToken ( );
Obtient le jeton d’autorisation.
Retours
Jeton d’autorisation
StartMeetingAsync
Syntaxe : public inline std::future< void > StartMeetingAsync ( );
Démarrez la réunion.
Retours
Un avenir vide.
DeleteMeetingAsync
Syntaxe : public inline std::future< void > DeleteMeetingAsync ( );
Supprime la réunion. Tous les participants qui font encore partie de la réunion seront éjectés après cet appel.
Retours
Un avenir vide.
LockMeetingAsync
Syntaxe : public inline std::future< void > LockMeetingAsync ( );
Verrouille la réunion. Après cela, aucun nouveau participant ne sera en mesure de participer.
Retours
Un avenir vide.
UnlockMeetingAsync
Syntaxe : public inline std::future< void > UnlockMeetingAsync ( );
Déverrouille la réunion.
Retours
Un avenir vide.
MuteAllParticipantsAsync
Syntaxe : public inline std::future< void > MuteAllParticipantsAsync ( );
Désactive tous les participants à l’exception de l’hôte. Cela empêche d’autres personnes de générer des transcriptions ou d’envoyer des messages texte.
Retours
Un avenir vide.
UnmuteAllParticipantsAsync
Syntaxe : public inline std::future< void > UnmuteAllParticipantsAsync ( );
Permet à d’autres participants de générer des transcriptions ou d’envoyer des messages texte.
Retours
Un avenir vide.
MuteParticipantAsync
Syntaxe : public inline std::future< void > MuteParticipantAsync ( const std::string & participantId );
Désactive un participant particulier. Cela les empêche de générer de nouvelles transcriptions ou d’envoyer des messages texte.
Paramètres
-
participantId
Identificateur du participant.
Retours
Un avenir vide.
UnmuteParticipantAsync
Syntaxe : public inline std::future< void > UnmuteParticipantAsync ( const std::string & participantId );
Désactive un participant particulier.
Paramètres
-
participantId
Identificateur du participant.
Retours
Un avenir vide.
CreateMeetingAsync
Syntaxe : public inline static std::future< std::shared_ptr< Meeting > > CreateMeetingAsync ( std::shared_ptr< SpeechConfig > speechConfig , const std::string & meetingId );
Créez une réunion à l’aide d’une configuration vocale et d’un ID de réunion.
Paramètres
speechConfig
Pointeur intelligent partagé d’un objet de configuration vocale.meetingId
ID de réunion.
Retours
Pointeur intelligent partagé de l’objet de réunion créé.