CommonCallingHandlers interface

구성 요소를 호출하는 데 필요한 모든 처리기를 포함하는 개체입니다.

이 패키지에서 관련 구성 요소를 호출하면 이 개체에서 관련 처리기를 선택할 수 있습니다. <xref:useHandlers> 및 usePropsFor 참조하세요.

속성

onAcceptCall
onBlurVideoBackground
onCreateLocalStreamView
onCreateRemoteStreamView
onCreateTogetherModeStreamView

함께 모드에 대한 보기를 만들려면 다시 호출하십시오.

onDisposeLocalScreenShareStreamView
onDisposeLocalStreamView
onDisposeRemoteScreenShareStreamView
onDisposeRemoteStreamView
onDisposeRemoteVideoStreamView
onDisposeTogetherModeStreamView

함께 폐기 모드 보기를 호출하려면 콜백

onForbidAudio

원격 참가자가 오디오를 보내는 것을 금지합니다.

onForbidOthersAudio

원격 참가자가 오디오를 보내는 것을 금지하는 모임 옵션 변경

onForbidOthersVideo

원격 참가자의 비디오 전송 금지 미팅 옵션 변경

onForbidVideo

원격 참가자의 비디오 전송 금지

onHangUp
onLowerHand
onMuteAllRemoteParticipants
onMuteParticipant
onPermitAudio

원격 참가자가 오디오를 보낼 수 있도록 허용

onPermitOthersAudio

원격 참가자가 오디오를 보낼 수 있도록 허용 모임 옵션 변경

onPermitOthersVideo

원격 참가자가 비디오를 보낼 수 있도록 허용 미팅 옵션 변경

onPermitVideo

원격 참가자가 비디오를 보낼 수 있도록 허용

onRaiseHand
onReactionClick
onRejectCall
onRemoveVideoBackgroundEffects
onReplaceVideoBackground
onSelectCamera
onSelectMicrophone
onSelectSpeaker
onSendDtmfTone
onSendRealTimeText
onSetCaptionLanguage
onSetSpokenLanguage
onSetTogetherModeSceneSize

통화 세트 함께 모드 장면 크기

onStartCall
onStartCaptions
onStartLocalVideo
onStartNoiseSuppressionEffect
onStartScreenShare
onStartSpotlight
onStartTogetherMode

함께 모드에 대한 보기를 만들려면 다시 호출하십시오.

onStopAllSpotlight
onStopCaptions
onStopNoiseSuppressionEffect
onStopScreenShare
onStopSpotlight
onToggleCamera
onToggleHold
onToggleMicrophone
onToggleRaiseHand
onToggleScreenShare

메서드

onAddParticipant(CommunicationUserIdentifier)
onAddParticipant(PhoneNumberIdentifier, AddPhoneNumberOptions)
onRemoveParticipant(CommunicationIdentifier)
onRemoveParticipant(string)
onSubmitSurvey(CallSurvey)

속성 세부 정보

onAcceptCall

onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>

속성 값

(incomingCallId: string, useVideo?: boolean) => Promise<void>

onBlurVideoBackground

onBlurVideoBackground: (backgroundBlurConfig?: VideoEffectConfig) => Promise<void>

속성 값

(backgroundBlurConfig?: VideoEffectConfig) => Promise<void>

onCreateLocalStreamView

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

속성 값

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

onCreateRemoteStreamView

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

속성 값

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

onCreateTogetherModeStreamView

함께 모드에 대한 보기를 만들려면 다시 호출하십시오.

onCreateTogetherModeStreamView: (options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>

속성 값

(options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>

onDisposeLocalScreenShareStreamView

onDisposeLocalScreenShareStreamView: () => Promise<void>

속성 값

() => Promise<void>

onDisposeLocalStreamView

onDisposeLocalStreamView: () => Promise<void>

속성 값

() => Promise<void>

onDisposeRemoteScreenShareStreamView

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

속성 값

(userId: string) => Promise<void>

onDisposeRemoteStreamView

경고

이 API는 이제 사용되지 않습니다.

use onDisposeRemoteVideoStreamView and onDisposeRemoteScreenShareStreamView instead.

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

속성 값

(userId: string) => Promise<void>

onDisposeRemoteVideoStreamView

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

속성 값

(userId: string) => Promise<void>

onDisposeTogetherModeStreamView

함께 폐기 모드 보기를 호출하려면 콜백

onDisposeTogetherModeStreamView: () => Promise<void>

속성 값

() => Promise<void>

onForbidAudio

원격 참가자가 오디오를 보내는 것을 금지합니다.

onForbidAudio?: (userIds: string[]) => Promise<void>

속성 값

(userIds: string[]) => Promise<void>

onForbidOthersAudio

원격 참가자가 오디오를 보내는 것을 금지하는 모임 옵션 변경

onForbidOthersAudio?: () => Promise<void>

속성 값

() => Promise<void>

onForbidOthersVideo

원격 참가자의 비디오 전송 금지 미팅 옵션 변경

onForbidOthersVideo?: () => Promise<void>

속성 값

() => Promise<void>

onForbidVideo

원격 참가자의 비디오 전송 금지

onForbidVideo?: (userIds: string[]) => Promise<void>

속성 값

(userIds: string[]) => Promise<void>

onHangUp

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

속성 값

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

onLowerHand

onLowerHand: () => Promise<void>

속성 값

() => Promise<void>

onMuteAllRemoteParticipants

onMuteAllRemoteParticipants: () => Promise<void>

속성 값

() => Promise<void>

onMuteParticipant

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

속성 값

(userId: string) => Promise<void>

onPermitAudio

원격 참가자가 오디오를 보낼 수 있도록 허용

onPermitAudio?: (userIds: string[]) => Promise<void>

속성 값

(userIds: string[]) => Promise<void>

onPermitOthersAudio

원격 참가자가 오디오를 보낼 수 있도록 허용 모임 옵션 변경

onPermitOthersAudio?: () => Promise<void>

속성 값

() => Promise<void>

onPermitOthersVideo

원격 참가자가 비디오를 보낼 수 있도록 허용 미팅 옵션 변경

onPermitOthersVideo?: () => Promise<void>

속성 값

() => Promise<void>

onPermitVideo

원격 참가자가 비디오를 보낼 수 있도록 허용

onPermitVideo?: (userIds: string[]) => Promise<void>

속성 값

(userIds: string[]) => Promise<void>

onRaiseHand

onRaiseHand: () => Promise<void>

속성 값

() => Promise<void>

onReactionClick

onReactionClick: (reaction: Reaction) => Promise<void>

속성 값

(reaction: Reaction) => Promise<void>

onRejectCall

onRejectCall: (incomingCallId: string) => Promise<void>

속성 값

(incomingCallId: string) => Promise<void>

onRemoveVideoBackgroundEffects

onRemoveVideoBackgroundEffects: () => Promise<void>

속성 값

() => Promise<void>

onReplaceVideoBackground

onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>

속성 값

(backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>

onSelectCamera

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

속성 값

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

onSelectMicrophone

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

속성 값

(device: AudioDeviceInfo) => Promise<void>

onSelectSpeaker

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

속성 값

(device: AudioDeviceInfo) => Promise<void>

onSendDtmfTone

onSendDtmfTone: (dtmfTone: DtmfTone) => Promise<void>

속성 값

(dtmfTone: DtmfTone) => Promise<void>

onSendRealTimeText

onSendRealTimeText: (text: string, isFinalized: boolean) => Promise<void>

속성 값

(text: string, isFinalized: boolean) => Promise<void>

onSetCaptionLanguage

onSetCaptionLanguage: (language: string) => Promise<void>

속성 값

(language: string) => Promise<void>

onSetSpokenLanguage

onSetSpokenLanguage: (language: string) => Promise<void>

속성 값

(language: string) => Promise<void>

onSetTogetherModeSceneSize

통화 세트 함께 모드 장면 크기

onSetTogetherModeSceneSize: (width: number, height: number) => void

속성 값

(width: number, height: number) => void

onStartCall

onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void

속성 값

(participants: CommunicationIdentifier[], options?: StartCallOptions) => void

onStartCaptions

onStartCaptions: (options?: CaptionsOptions) => Promise<void>

속성 값

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

onStartLocalVideo

onStartLocalVideo: () => Promise<void>

속성 값

() => Promise<void>

onStartNoiseSuppressionEffect

onStartNoiseSuppressionEffect: () => Promise<void>

속성 값

() => Promise<void>

onStartScreenShare

onStartScreenShare: () => Promise<void>

속성 값

() => Promise<void>

onStartSpotlight

onStartSpotlight: (userIds?: string[]) => Promise<void>

속성 값

(userIds?: string[]) => Promise<void>

onStartTogetherMode

함께 모드에 대한 보기를 만들려면 다시 호출하십시오.

onStartTogetherMode: () => Promise<void>

속성 값

() => Promise<void>

onStopAllSpotlight

onStopAllSpotlight: () => Promise<void>

속성 값

() => Promise<void>

onStopCaptions

onStopCaptions: () => Promise<void>

속성 값

() => Promise<void>

onStopNoiseSuppressionEffect

onStopNoiseSuppressionEffect: () => Promise<void>

속성 값

() => Promise<void>

onStopScreenShare

onStopScreenShare: () => Promise<void>

속성 값

() => Promise<void>

onStopSpotlight

onStopSpotlight: (userIds?: string[]) => Promise<void>

속성 값

(userIds?: string[]) => Promise<void>

onToggleCamera

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

속성 값

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

onToggleHold

onToggleHold: () => Promise<void>

속성 값

() => Promise<void>

onToggleMicrophone

onToggleMicrophone: () => Promise<void>

속성 값

() => Promise<void>

onToggleRaiseHand

onToggleRaiseHand: () => Promise<void>

속성 값

() => Promise<void>

onToggleScreenShare

onToggleScreenShare: () => Promise<void>

속성 값

() => Promise<void>

메서드 세부 정보

onAddParticipant(CommunicationUserIdentifier)

function onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>

매개 변수

반환

Promise<void>

onAddParticipant(PhoneNumberIdentifier, AddPhoneNumberOptions)

function onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>

매개 변수

participant
PhoneNumberIdentifier

반환

Promise<void>

onRemoveParticipant(CommunicationIdentifier)

function onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>

매개 변수

반환

Promise<void>

onRemoveParticipant(string)

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

매개 변수

userId

string

반환

Promise<void>

onSubmitSurvey(CallSurvey)

function onSubmitSurvey(survey: CallSurvey): Promise<undefined | CallSurveyResponse>

매개 변수

survey
CallSurvey

반환

Promise<undefined | CallSurveyResponse>