Compartilhar via


CallingHandlers interface

Objeto que contém todos os manipuladores necessários para chamar componentes.

Chamar componentes relacionados desse pacote é capaz de escolher manipuladores relevantes desse objeto. Consulte <xref:useHandlers> e usePropsFor.

Extends

Propriedades

onStartCall

Propriedades herdadas

onCreateLocalStreamView
onCreateRemoteStreamView
onDisposeLocalStreamView
onDisposeRemoteStreamView
onHangUp
onSelectCamera
onSelectMicrophone
onSelectSpeaker
onStartLocalVideo
onStartScreenShare
onStopScreenShare
onToggleCamera
onToggleMicrophone
onToggleScreenShare

Métodos herdados

onRemoveParticipant(string)

Detalhes da propriedade

onStartCall

onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | Call

Valor da propriedade

(participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | Call

Detalhes das propriedades herdadas

onCreateLocalStreamView

onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Valor da propriedade

(options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Herdado deCommonCallingHandlers.onCreateLocalStreamView

onCreateRemoteStreamView

onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Valor da propriedade

(userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Herdado deCommonCallingHandlers.onCreateRemoteStreamView

onDisposeLocalStreamView

onDisposeLocalStreamView: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onDisposeLocalStreamView

onDisposeRemoteStreamView

onDisposeRemoteStreamView: (userId: string) => Promise<void>

Valor da propriedade

(userId: string) => Promise<void>

Herdado deCommonCallingHandlers.onDisposeRemoteStreamView

onHangUp

onHangUp: (forEveryone?: boolean) => Promise<void>

Valor da propriedade

(forEveryone?: boolean) => Promise<void>

Herdado deCommonCallingHandlers.onHangUp

onSelectCamera

onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>

Valor da propriedade

(device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>

Herdado deCommonCallingHandlers.onSelectCamera

onSelectMicrophone

onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>

Valor da propriedade

(device: AudioDeviceInfo) => Promise<void>

Herdado deCommonCallingHandlers.onSelectMicrophone

onSelectSpeaker

onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>

Valor da propriedade

(device: AudioDeviceInfo) => Promise<void>

Herdado deCommonCallingHandlers.onSelectSpeaker

onStartLocalVideo

onStartLocalVideo: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onStartLocalVideo

onStartScreenShare

onStartScreenShare: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onStartScreenShare

onStopScreenShare

onStopScreenShare: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onStopScreenShare

onToggleCamera

onToggleCamera: (options?: VideoStreamOptions) => Promise<void>

Valor da propriedade

(options?: VideoStreamOptions) => Promise<void>

Herdado deCommonCallingHandlers.onToggleCamera

onToggleMicrophone

onToggleMicrophone: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onToggleMicrophone

onToggleScreenShare

onToggleScreenShare: () => Promise<void>

Valor da propriedade

() => Promise<void>

Herdado deCommonCallingHandlers.onToggleScreenShare

Detalhes do método herdado

onRemoveParticipant(string)

function onRemoveParticipant(userId: string): Promise<void>

Parâmetros

userId

string

Retornos

Promise<void>

Herdado deCommonCallingHandlers.onRemoveParticipant