Freigeben über


Conversation class

Eigenschaften

authorizationToken
config
conversationId
conversationInfo
isConnected
participants
properties
speechRecognitionLanguage

Methoden

addParticipantAsync(IParticipant, Callback, Callback)

Teilnehmer zu Unterhaltung hinzufügen.

createConversationAsync(SpeechTranslationConfig, string | Callback, Callback, Callback)

Erstellen einer Unterhaltung

deleteConversationAsync(Callback, Callback)

Löschen einer Unterhaltung. Danach kann niemand an der Unterhaltung teilnehmen.

endConversationAsync(Callback, Callback)

Beenden einer Unterhaltung.

lockConversationAsync(Callback, Callback)

Sperren einer Unterhaltung. Dadurch wird verhindert, dass neue Teilnehmer teilnehmen.

muteAllParticipantsAsync(Callback, Callback)

Schalten Sie alle anderen Teilnehmer in der Unterhaltung stumm. Danach werden keine anderen Teilnehmer ihre Spracherkennung übertragen, noch Textnachrichten senden können.

muteParticipantAsync(string, Callback, Callback)

Stummschalten eines Teilnehmers.

removeParticipantAsync(string | IParticipant | IUser, Callback, Callback)

Entfernen eines Teilnehmers aus einer Unterhaltung mithilfe der Benutzer-ID, des Teilnehmer- oder Benutzerobjekts

startConversationAsync(Callback, Callback)

Beginnen Sie eine Unterhaltung.

unlockConversationAsync(Callback, Callback)

Entsperrt eine Unterhaltung.

unmuteAllParticipantsAsync(Callback, Callback)

Heben Sie die Stummschaltung aller anderen Teilnehmer in der Unterhaltung auf.

unmuteParticipantAsync(string, Callback, Callback)

Aufheben der Stummschaltung eines Teilnehmers.

Details zur Eigenschaft

authorizationToken

string authorizationToken

Eigenschaftswert

string

config

SpeechTranslationConfig config

Eigenschaftswert

conversationId

string conversationId

Eigenschaftswert

string

conversationInfo

ConversationInfo conversationInfo

Eigenschaftswert

isConnected

boolean isConnected

Eigenschaftswert

boolean

participants

Participant[] participants

Eigenschaftswert

properties

PropertyCollection properties

Eigenschaftswert

speechRecognitionLanguage

string speechRecognitionLanguage

Eigenschaftswert

string

Details zur Methode

addParticipantAsync(IParticipant, Callback, Callback)

Teilnehmer zu Unterhaltung hinzufügen.

function addParticipantAsync(participant: IParticipant, cb?: Callback, err?: Callback)

Parameter

participant
IParticipant
cb

Callback

err

Callback

createConversationAsync(SpeechTranslationConfig, string | Callback, Callback, Callback)

Erstellen einer Unterhaltung

static function createConversationAsync(speechConfig: SpeechTranslationConfig, arg2?: string | Callback, arg3?: Callback, arg4?: Callback): Conversation

Parameter

arg2

string | Callback

arg3

Callback

arg4

Callback

Gibt zurück

deleteConversationAsync(Callback, Callback)

Löschen einer Unterhaltung. Danach kann niemand an der Unterhaltung teilnehmen.

function deleteConversationAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

endConversationAsync(Callback, Callback)

Beenden einer Unterhaltung.

function endConversationAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

lockConversationAsync(Callback, Callback)

Sperren einer Unterhaltung. Dadurch wird verhindert, dass neue Teilnehmer teilnehmen.

function lockConversationAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

muteAllParticipantsAsync(Callback, Callback)

Schalten Sie alle anderen Teilnehmer in der Unterhaltung stumm. Danach werden keine anderen Teilnehmer ihre Spracherkennung übertragen, noch Textnachrichten senden können.

function muteAllParticipantsAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

muteParticipantAsync(string, Callback, Callback)

Stummschalten eines Teilnehmers.

function muteParticipantAsync(userId: string, cb?: Callback, err?: Callback)

Parameter

userId

string

Ein Benutzerbezeichner

cb

Callback

err

Callback

removeParticipantAsync(string | IParticipant | IUser, Callback, Callback)

Entfernen eines Teilnehmers aus einer Unterhaltung mithilfe der Benutzer-ID, des Teilnehmer- oder Benutzerobjekts

function removeParticipantAsync(userId: string | IParticipant | IUser, cb?: Callback, err?: Callback)

Parameter

userId

string | IParticipant | IUser

Ein Benutzerbezeichner

cb

Callback

err

Callback

startConversationAsync(Callback, Callback)

Beginnen Sie eine Unterhaltung.

function startConversationAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

unlockConversationAsync(Callback, Callback)

Entsperrt eine Unterhaltung.

function unlockConversationAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

unmuteAllParticipantsAsync(Callback, Callback)

Heben Sie die Stummschaltung aller anderen Teilnehmer in der Unterhaltung auf.

function unmuteAllParticipantsAsync(cb?: Callback, err?: Callback)

Parameter

cb

Callback

err

Callback

unmuteParticipantAsync(string, Callback, Callback)

Aufheben der Stummschaltung eines Teilnehmers.

function unmuteParticipantAsync(userId: string, cb?: Callback, err?: Callback)

Parameter

userId

string

Ein Benutzerbezeichner

cb

Callback

err

Callback