ConversationRecognizer interface

Recognizer for handling Conversation Translator websocket messages

Properties

canceled
cancelSpeech
close
connect
connected
connectionClosed
connectionOpened
conversationExpiration
disconnected
lockRoomCommandReceived
muteAllCommandReceived
participantJoinCommandReceived
participantLeaveCommandReceived
participantsListReceived
participantUpdateCommandReceived
sendRequest
translationReceived

Methods

isDisposed()

Property Details

canceled

canceled?: (sender: ConversationRecognizer, event: ConversationTranslationCanceledEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ConversationTranslationCanceledEventArgs) => void

cancelSpeech

cancelSpeech?: () => Promise<void>

Property Value

() => Promise<void>

close

close?: () => Promise<void>

Property Value

() => Promise<void>

connect

connect?: (token: string, cb?: () => void, err?: (e: string) => void) => void

Property Value

(token: string, cb?: () => void, err?: (e: string) => void) => void

connected

connected?: (e: ConnectionEventArgs) => void

Property Value

(e: ConnectionEventArgs) => void

connectionClosed

connectionClosed?: (sender: ConversationRecognizer, event: SessionEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: SessionEventArgs) => void

connectionOpened

connectionOpened?: (sender: ConversationRecognizer, event: SessionEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: SessionEventArgs) => void

conversationExpiration

conversationExpiration?: (sender: ConversationRecognizer, event: ConversationExpirationEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ConversationExpirationEventArgs) => void

disconnected

disconnected?: (e: ConnectionEventArgs) => void

Property Value

(e: ConnectionEventArgs) => void

lockRoomCommandReceived

lockRoomCommandReceived?: (sender: ConversationRecognizer, event: LockRoomEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: LockRoomEventArgs) => void

muteAllCommandReceived

muteAllCommandReceived?: (sender: ConversationRecognizer, event: MuteAllEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: MuteAllEventArgs) => void

participantJoinCommandReceived

participantJoinCommandReceived?: (sender: ConversationRecognizer, event: ParticipantEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ParticipantEventArgs) => void

participantLeaveCommandReceived

participantLeaveCommandReceived?: (sender: ConversationRecognizer, event: ParticipantEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ParticipantEventArgs) => void

participantsListReceived

participantsListReceived?: (sender: ConversationRecognizer, event: ParticipantsListEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ParticipantsListEventArgs) => void

participantUpdateCommandReceived

participantUpdateCommandReceived?: (sender: ConversationRecognizer, event: ParticipantAttributeEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ParticipantAttributeEventArgs) => void

sendRequest

sendRequest: (command: string, cb?: () => void, err?: (e: string) => void) => void

Property Value

(command: string, cb?: () => void, err?: (e: string) => void) => void

translationReceived

translationReceived?: (sender: ConversationRecognizer, event: ConversationReceivedTranslationEventArgs) => void

Property Value

(sender: ConversationRecognizer, event: ConversationReceivedTranslationEventArgs) => void

Method Details

isDisposed()

function isDisposed()

Returns

boolean