CallingHandlers interface
Объект , содержащий все обработчики, необходимые для вызова компонентов.
Вызов связанных компонентов из этого пакета позволяет выбрать соответствующие обработчики из этого объекта. См. <xref:useHandlers> и usePropsFor.
- Extends
Свойства
on |
Унаследованные свойства
Наследуемые методы
on |
Сведения о свойстве
onStartCall
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | Call
Значение свойства
(participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | Call
Сведения об унаследованном свойстве
onCreateLocalStreamView
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>
Значение свойства
(options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>
Наследуется отCommonCallingHandlers.onCreateLocalStreamView
onCreateRemoteStreamView
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>
Значение свойства
(userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>
Наследуется отCommonCallingHandlers.onCreateRemoteStreamView
onDisposeLocalStreamView
onDisposeLocalStreamView: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onDisposeLocalStreamView
onDisposeRemoteStreamView
onDisposeRemoteStreamView: (userId: string) => Promise<void>
Значение свойства
(userId: string) => Promise<void>
Наследуется отCommonCallingHandlers.onDisposeRemoteStreamView
onHangUp
onHangUp: (forEveryone?: boolean) => Promise<void>
Значение свойства
(forEveryone?: boolean) => Promise<void>
Наследуется отCommonCallingHandlers.onHangUp
onSelectCamera
onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>
Значение свойства
(device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>
Наследуется отCommonCallingHandlers.onSelectCamera
onSelectMicrophone
onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>
Значение свойства
(device: AudioDeviceInfo) => Promise<void>
Наследуется отCommonCallingHandlers.onSelectMicrophone
onSelectSpeaker
onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>
Значение свойства
(device: AudioDeviceInfo) => Promise<void>
Наследуется отCommonCallingHandlers.onSelectSpeaker
onStartLocalVideo
onStartLocalVideo: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onStartLocalVideo
onStartScreenShare
onStartScreenShare: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onStartScreenShare
onStopScreenShare
onStopScreenShare: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onStopScreenShare
onToggleCamera
onToggleCamera: (options?: VideoStreamOptions) => Promise<void>
Значение свойства
(options?: VideoStreamOptions) => Promise<void>
Наследуется отCommonCallingHandlers.onToggleCamera
onToggleMicrophone
onToggleMicrophone: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onToggleMicrophone
onToggleScreenShare
onToggleScreenShare: () => Promise<void>
Значение свойства
() => Promise<void>
Наследуется отCommonCallingHandlers.onToggleScreenShare
Сведения о наследуемом методе
onRemoveParticipant(string)
function onRemoveParticipant(userId: string): Promise<void>
Параметры
- userId
-
string
Возвращаемое значение
Promise<void>
Наследуется отCommonCallingHandlers.onRemoveParticipant