Partilhar via


CallingHandlers interface

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

Chamar componentes relacionados deste pacote é capaz de selecionar manipuladores relevantes deste 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 de Propriedade

onStartCall

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

Valor de Propriedade

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

Detalhes da Propriedade Herdada

onCreateLocalStreamView

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

Valor de Propriedade

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

herdado de CommonCallingHandlers.onCreateLocalStreamView

onCreateRemoteStreamView

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

Valor de Propriedade

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

herdado de CommonCallingHandlers.onCreateRemoteStreamView

onDisposeLocalStreamView

onDisposeLocalStreamView: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onDisposeLocalStreamView

onDisposeRemoteStreamView

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

Valor de Propriedade

(userId: string) => Promise<void>

herdado de CommonCallingHandlers.onDisposeRemoteStreamView

onHangUp

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

Valor de Propriedade

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

herdado de CommonCallingHandlers.onHangUp

onSelectCamera

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

Valor de Propriedade

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

herdado de CommonCallingHandlers.onSelectCamera

onSelectMicrophone

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

Valor de Propriedade

(device: AudioDeviceInfo) => Promise<void>

herdado de CommonCallingHandlers.onSelectMicrophone

onSelectSpeaker

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

Valor de Propriedade

(device: AudioDeviceInfo) => Promise<void>

herdado de CommonCallingHandlers.onSelectSpeaker

onStartLocalVideo

onStartLocalVideo: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onStartLocalVideo

onStartScreenShare

onStartScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onStartScreenShare

onStopScreenShare

onStopScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onStopScreenShare

onToggleCamera

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

Valor de Propriedade

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

herdado de CommonCallingHandlers.onToggleCamera

onToggleMicrophone

onToggleMicrophone: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onToggleMicrophone

onToggleScreenShare

onToggleScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

herdado de CommonCallingHandlers.onToggleScreenShare

Detalhes do Método Herdado

onRemoveParticipant(string)

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

Parâmetros

userId

string

Devoluções

Promise<void>

herdado de CommonCallingHandlers.onRemoveParticipant