次の方法で共有


CallWithChatAdapter interface

CallWithChatComposite アダプター インターフェイスを します。

Extends

継承されたプロパティ

forbidAudio

指定したユーザー ID の音声を禁止します。

forbidOthersAudio

ローカル ユーザーを除く Teams 会議の出席者の音声を禁止します。

forbidOthersVideo

ローカル ユーザー以外の Teams 会議出席者のビデオを禁止します。

forbidVideo

指定したユーザーIDの動画を禁止します。

permitAudio

指定したユーザー ID のオーディオを許可します。

permitOthersAudio

ローカル ユーザーを除く Teams 会議の出席者のオーディオを許可します。

permitOthersVideo

ローカル ユーザーを除く Teams 会議の出席者に対してビデオを許可します。

permitVideo

指定したユーザー ID のビデオを許可します。

sendDtmfTone

DTMF トーンを 1:1 通話で通話の別の参加者に送信する

sendRealTimeText

リアルタイムのテキストを送信

継承されたメソッド

addParticipant(CommunicationUserIdentifier)
addParticipant(PhoneNumberIdentifier, AddPhoneNumberOptions)

新しい参加者を通話に追加します。

askDevicePermission(PermissionConstraints)

デバイスのアクセス許可を要求します。

createStreamView(string, VideoStreamOptions)

ストリームの HTML ビューを作成します。

createTogetherModeStreamView(TogetherModeStreamOptions)

togethermode ストリームの html ビューを作成します。

deleteMessage(string)

スレッド内のメッセージを削除します。

dispose()

複合の破棄

disposeLocalVideoStreamView()

ローカルビデオストリームの html ビューを破棄します

disposeRemoteVideoStreamView(string)

リモートビデオストリームのhtmlビューを破棄します

disposeScreenShareStreamView(string)

画面共有ストリームの html ビューを破棄します

disposeStreamView(string, VideoStreamOptions)

ストリームの html ビューを破棄します。

disposeTogetherModeStreamView()

togethermode ストリームの html ビューを破棄します。

downloadResourceToCache(ResourceDetails)
fetchInitialData()

チャット アダプターの初期状態をフェッチします。

ChatComposite メソッドと API メソッドに必要な最小限のフェッチを実行します。

getState()

現在の状態を取得する

holdCall()

通話をローカルホールドにします。

joinCall(boolean)

最初にマイクをオン/オフにして通話に参加します。

joinCall(JoinCallOptions)

通話に参加するときにマイク/カメラの初期状態を設定するオプションバッグを使用して通話に参加します true = 通話に参加するときにデバイスをオンにします false = 通話に参加するときにデバイスの電源を切ります 'keep'/undefined = デバイスの事前通話状態を保持します

leaveCall(boolean)

通話を終了します。

loadPreviousChatMessages(number)

チャット スレッド履歴に以前のメッセージをさらに読み込みます。

lowerHand()

ローカルユーザーのためのローハンド。

mute()

通話中に現在のユーザーをミュートするか、ローカルでマイクを無効にします。

muteAllRemoteParticipants()

参加者をミュートする

muteParticipant(string)

参加者をミュートする

off("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)
off("callEnded", CallEndedListener)
off("callError", (e: AdapterError) => void)
off("callIdChanged", CallIdChangedListener)
off("callParticipantsJoined", ParticipantsJoinedListener)
off("callParticipantsLeft", ParticipantsLeftListener)
off("capabilitiesChanged", CapabilitiesChangedListener)
off("captionsReceived", CaptionsReceivedListener)
off("chatError", (e: AdapterError) => void)
off("chatInitialized", ChatInitializedListener)
off("chatParticipantsAdded", ParticipantsAddedListener)
off("chatParticipantsRemoved", ParticipantsRemovedListener)
off("displayNameChanged", DisplayNameChangedListener)
off("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)
off("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)
off("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)
off("isMutedChanged", IsMutedChangedListener)
off("isSpeakingChanged", IsSpeakingChangedListener)
off("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)
off("messageDeleted", MessageReceivedListener)
off("messageEdited", MessageReceivedListener)
off("messageRead", MessageReadListener)
off("messageReceived", MessageReceivedListener)
off("messageSent", MessageReceivedListener)
off("realTimeTextReceived", RealTimeTextReceivedListener)
off("selectedMicrophoneChanged", PropertyChangedEvent)
off("selectedSpeakerChanged", PropertyChangedEvent)
off("spotlightChanged", SpotlightChangedListener)
offStateChange((state: CallWithChatAdapterState) => void)

ハンドラーを stateChanged イベントの登録を解除します。

on("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)
on("callEnded", CallEndedListener)
on("callError", (e: AdapterError) => void)
on("callIdChanged", CallIdChangedListener)
on("callParticipantsJoined", ParticipantsJoinedListener)
on("callParticipantsLeft", ParticipantsLeftListener)
on("capabilitiesChanged", CapabilitiesChangedListener)
on("captionsReceived", CaptionsReceivedListener)
on("chatError", (e: AdapterError) => void)
on("chatInitialized", ChatInitializedListener)
on("chatParticipantsAdded", ParticipantsAddedListener)
on("chatParticipantsRemoved", ParticipantsRemovedListener)
on("displayNameChanged", DisplayNameChangedListener)
on("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)
on("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)
on("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)
on("isMutedChanged", IsMutedChangedListener)
on("isSpeakingChanged", IsSpeakingChangedListener)
on("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)
on("messageDeleted", MessageReceivedListener)
on("messageEdited", MessageReceivedListener)
on("messageRead", MessageReadListener)
on("messageReceived", MessageReceivedListener)
on("messageSent", MessageReceivedListener)
on("realTimeTextReceived", RealTimeTextReceivedListener)
on("selectedMicrophoneChanged", PropertyChangedEvent)
on("selectedSpeakerChanged", PropertyChangedEvent)
on("spotlightChanged", SpotlightChangedListener)
onReactionClick(Reaction)

進行中の会議にリアクションを送信します。

onStateChange((state: CallWithChatAdapterState) => void)

ハンドラーを stateChanged イベントにサブスクライブします。

queryCameras()

使用可能なカメラ デバイスのクエリを実行します。

queryMicrophones()

使用可能なマイク デバイスのクエリを実行します。

querySpeakers()

使用可能なマイク デバイスのクエリを実行します。

raiseHand()

ローカルユーザーのために手を挙げます。

removeParticipant(CommunicationIdentifier)

通話から参加者を削除します。

removeParticipant(string)

通話から参加者を削除します。

removeResourceFromCache(ResourceDetails)
resumeCall()

LocalHold 状態から呼び出しを再開します。

returnFromBreakoutRoom()

ブレイクアウトルームの発信元に戻る

sendMessage(string, SendMessageOptions)

スレッドでメッセージを送信します。

sendReadReceipt(string)

メッセージの開封確認メッセージを送信します。

sendTypingIndicator()

スレッドで入力インジケーターを送信します。

setCamera(VideoDeviceInfo, VideoStreamOptions)

通話で使用するカメラを設定します。

setCaptionLanguage(string)

キャプション言語を設定する機能

setMicrophone(AudioDeviceInfo)

通話で使用するマイクを設定します。

setSpeaker(AudioDeviceInfo)

通話で使用するスピーカーを設定します。

setSpokenLanguage(string)

音声言語を設定する機能

setTogetherModeSceneSize(number, number)

Together モードの着座位置を再計算します。

startCall((CommunicationUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], StartCallOptions)

呼び出しを開始します。

startCall(string[], StartCallOptions)

呼び出しを開始します。

startCamera(VideoStreamOptions)

カメラを起動します。

このメソッドは、呼び出しがアクティブでない場合にローカル カメラ ビューのレンダリングを開始します。

startCaptions(StartCaptionsAdapterOptions)

キャプションを開始する機能

startNoiseSuppressionEffect()

ノイズ抑制効果を開始します。

startScreenShare()

通話中に画面の共有を開始します。

startSpotlight(string[])

スポットライトを開始

startTogetherMode()

一緒に開始モード。

startVideoBackgroundEffect(VideoBackgroundEffect)

ビデオの背景効果を開始します。

stopAllSpotlight()

すべてのスポットライトを止める

stopCamera()

カメラを停止します。

このメソッドは、呼び出しがアクティブでない場合、ローカル カメラ ビューのレンダリングを停止します。

stopCaptions(StopCaptionsAdapterOptions)

キャプションを停止する機能

stopNoiseSuppressionEffect()

ノイズ抑制効果を開始します。

stopScreenShare()

画面の共有を停止します。

stopSpotlight(string[])

スポットライトを止める

stopVideoBackgroundEffects()

ビデオの背景効果を停止します。

submitSurvey(CallSurvey)

通話終了の調査結果を送信する

unmute()

通話中に現在のユーザーのミュートを解除するか、ローカルでマイクを有効にします。

updateBackgroundPickerImages(VideoBackgroundImage[])

背景ピッカーの画像を上書きして、背景の置換効果を得ます。

updateMessage(string, string, Record<string, string>)

メッセージの内容を更新します。

updateSelectedVideoBackgroundEffect(VideoBackgroundEffect)

選択したビデオの背景効果を更新する

継承されたプロパティの詳細

forbidAudio

指定したユーザー ID の音声を禁止します。

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

プロパティ値

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

CallWithChatAdapterManagement.forbidAudioから継承されます

forbidOthersAudio

ローカル ユーザーを除く Teams 会議の出席者の音声を禁止します。

forbidOthersAudio: () => Promise<void>

プロパティ値

() => Promise<void>

CallWithChatAdapterManagement.forbidOthersAudioから継承

forbidOthersVideo

ローカル ユーザー以外の Teams 会議出席者のビデオを禁止します。

forbidOthersVideo: () => Promise<void>

プロパティ値

() => Promise<void>

CallWithChatAdapterManagement.forbidOthersVideoから継承

forbidVideo

指定したユーザーIDの動画を禁止します。

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

プロパティ値

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

CallWithChatAdapterManagement.forbidVideoから継承

permitAudio

指定したユーザー ID のオーディオを許可します。

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

プロパティ値

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

CallWithChatAdapterManagement.permitAudioから継承されます

permitOthersAudio

ローカル ユーザーを除く Teams 会議の出席者のオーディオを許可します。

permitOthersAudio: () => Promise<void>

プロパティ値

() => Promise<void>

CallWithChatAdapterManagement.permitOthersAudioから継承

permitOthersVideo

ローカル ユーザーを除く Teams 会議の出席者に対してビデオを許可します。

permitOthersVideo: () => Promise<void>

プロパティ値

() => Promise<void>

CallWithChatAdapterManagement.permitOthersVideoから継承

permitVideo

指定したユーザー ID のビデオを許可します。

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

プロパティ値

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

CallWithChatAdapterManagement.permitVideoから継承

sendDtmfTone

DTMF トーンを 1:1 通話で通話の別の参加者に送信する

public sendDtmfTone: (dtmfTone: DtmfTone) => Promise<void>

プロパティ値

(dtmfTone: DtmfTone) => Promise<void>

CallWithChatAdapterManagement.sendDtmfToneから継承

sendRealTimeText

リアルタイムのテキストを送信

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

プロパティ値

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

CallWithChatAdapterManagement.sendRealTimeTextから継承されます

継承済みメソッドの詳細

addParticipant(CommunicationUserIdentifier)

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

パラメーター

戻り値

Promise<void>

CallWithChatAdapterManagement.addParticipantから継承

addParticipant(PhoneNumberIdentifier, AddPhoneNumberOptions)

新しい参加者を通話に追加します。

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

パラメーター

participant
PhoneNumberIdentifier

戻り値

Promise<void>

CallWithChatAdapterManagement.addParticipantから継承

askDevicePermission(PermissionConstraints)

デバイスのアクセス許可を要求します。

function askDevicePermission(constrain: PermissionConstraints): Promise<DeviceAccess>

パラメーター

constrain
PermissionConstraints

ローカル デバイスにアクセスするための制約を定義 <xref:%40azure%2Fcommunication-calling%23PermissionConstraints>

戻り値

Promise<DeviceAccess>

注釈

アクセス許可がまだ付与されていない場合は、ブラウザーのアクセス許可ウィンドウが表示されます。

CallWithChatAdapterManagement.askDevicePermissionから継承されます

createStreamView(string, VideoStreamOptions)

ストリームの HTML ビューを作成します。

function createStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void | CreateVideoStreamViewResult>

パラメーター

remoteUserId

string

レンダリングする参加者の ID。ローカル カメラ ビューを作成するには未定義のままにします

options
VideoStreamOptions

ビデオ ストリームのレンダリング方法を制御するオプション <xref:%40azure%2Fcommunication-calling%23VideoStreamOptions>

戻り値

Promise<void | CreateVideoStreamViewResult>

注釈

このメソッドは複合用に実装されています。

CallWithChatAdapterManagement.createStreamViewから継承されます

createTogetherModeStreamView(TogetherModeStreamOptions)

togethermode ストリームの html ビューを作成します。

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

パラメーター

options
TogetherModeStreamOptions

ビデオ ストリームのレンダリング方法を制御するオプション <xref:%40azure%2Fcommunication-calling%23VideoStreamOptions>

戻り値

注釈

このメソッドは複合用に実装されています。

CallWithChatAdapterManagement.createTogetherModeStreamViewから継承されます

deleteMessage(string)

スレッド内のメッセージを削除します。

function deleteMessage(messageId: string): Promise<void>

パラメーター

messageId

string

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.deleteMessage

dispose()

複合の破棄

function dispose()

継承元Disposable_2.dispose

disposeLocalVideoStreamView()

ローカルビデオストリームの html ビューを破棄します

function disposeLocalVideoStreamView(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.disposeLocalVideoStreamViewから継承

disposeRemoteVideoStreamView(string)

リモートビデオストリームのhtmlビューを破棄します

function disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>

パラメーター

remoteUserId

string

廃棄する参加者のID

戻り値

Promise<void>

CallWithChatAdapterManagement.disposeRemoteVideoStreamViewから継承されます

disposeScreenShareStreamView(string)

画面共有ストリームの html ビューを破棄します

function disposeScreenShareStreamView(remoteUserId: string): Promise<void>

パラメーター

remoteUserId

string

画面共有ストリーム ビューを破棄する参加者の ID。

戻り値

Promise<void>

注釈

このメソッドは、複合

CallWithChatAdapterManagement.disposeScreenShareStreamViewから継承

disposeStreamView(string, VideoStreamOptions)

ストリームの html ビューを破棄します。

function disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>

パラメーター

remoteUserId

string

レンダリングする参加者の ID。ローカル カメラ ビューを破棄するには未定義のままにします

options
VideoStreamOptions

ビデオ ストリームのレンダリング方法を制御するオプション <xref:%40azure%2Fcommunication-calling%23VideoStreamOptions>

戻り値

Promise<void>

注釈

このメソッドは複合用に実装されています。

CallWithChatAdapterManagement.disposeStreamViewから継承

disposeTogetherModeStreamView()

togethermode ストリームの html ビューを破棄します。

function disposeTogetherModeStreamView(): Promise<void>

戻り値

Promise<void>

注釈

このメソッドは複合用に実装されています。

CallWithChatAdapterManagement.disposeTogetherModeStreamViewから継承されます

downloadResourceToCache(ResourceDetails)

function downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>

パラメーター

resourceDetails
ResourceDetails

戻り値

Promise<void>

CallWithChatAdapterManagement.downloadResourceToCacheから継承されます

fetchInitialData()

チャット アダプターの初期状態をフェッチします。

ChatComposite メソッドと API メソッドに必要な最小限のフェッチを実行します。

function fetchInitialData(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.fetchInitialDataから継承されます

getState()

現在の状態を取得する

function getState(): CallWithChatAdapterState

戻り値

継承元AdapterState.getState

holdCall()

通話をローカルホールドにします。

function holdCall(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.holdCallから継承されます

joinCall(boolean)

警告

この API は非推奨になりました。

Use joinCall(options?:JoinCallOptions) instead.

最初にマイクをオン/オフにして通話に参加します。

function joinCall(microphoneOn?: boolean): undefined | Call

パラメーター

microphoneOn

boolean

マイクが最初に有効になっているかどうか

戻り値

undefined | Call

CallWithChatAdapterManagement.joinCallから継承されます

joinCall(JoinCallOptions)

通話に参加するときにマイク/カメラの初期状態を設定するオプションバッグを使用して通話に参加します true = 通話に参加するときにデバイスをオンにします false = 通話に参加するときにデバイスの電源を切ります 'keep'/undefined = デバイスの事前通話状態を保持します

function joinCall(options?: JoinCallOptions): undefined | Call

パラメーター

options
JoinCallOptions

マイク/カメラを最初にオン/オフ/使用プレコール状態に設定するパラメータ。

戻り値

undefined | Call

CallWithChatAdapterManagement.joinCallから継承されます

leaveCall(boolean)

通話を終了します。

function leaveCall(forEveryone?: boolean): Promise<void>

パラメーター

forEveryone

boolean

退出時にすべての参加者を削除するかどうか

戻り値

Promise<void>

CallWithChatAdapterManagement.leaveCallから継承されます

loadPreviousChatMessages(number)

チャット スレッド履歴に以前のメッセージをさらに読み込みます。

function loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>

パラメーター

messagesToLoad

number

戻り値

Promise<boolean>

注釈

このメソッドは通常、増分フェッチ/無限スクロールを制御するために使用されます。

CallWithChatAdapterManagement.loadPreviousChatMessagesから継承

lowerHand()

ローカルユーザーのためのローハンド。

function lowerHand(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.lowerHandから継承されます

mute()

通話中に現在のユーザーをミュートするか、ローカルでマイクを無効にします。

function mute(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.muteから継承

muteAllRemoteParticipants()

参加者をミュートする

function muteAllRemoteParticipants(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.muteAllRemoteParticipantsから継承されます

muteParticipant(string)

参加者をミュートする

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

パラメーター

userId

string

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.muteParticipant

off("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)

function off(event: "breakoutRoomsUpdated", listener: BreakoutRoomsUpdatedListener)

パラメーター

event

"breakoutRoomsUpdated"

CallWithChatAdapterSubscriptions.offから継承

off("callEnded", CallEndedListener)

function off(event: "callEnded", listener: CallEndedListener)

パラメーター

event

"callEnded"

CallWithChatAdapterSubscriptions.offから継承

off("callError", (e: AdapterError) => void)

function off(event: "callError", listener: (e: AdapterError) => void)

パラメーター

event

"callError"

listener

(e: AdapterError) => void

CallWithChatAdapterSubscriptions.offから継承

off("callIdChanged", CallIdChangedListener)

function off(event: "callIdChanged", listener: CallIdChangedListener)

パラメーター

event

"callIdChanged"

CallWithChatAdapterSubscriptions.offから継承

off("callParticipantsJoined", ParticipantsJoinedListener)

function off(event: "callParticipantsJoined", listener: ParticipantsJoinedListener)

パラメーター

event

"callParticipantsJoined"

CallWithChatAdapterSubscriptions.offから継承

off("callParticipantsLeft", ParticipantsLeftListener)

function off(event: "callParticipantsLeft", listener: ParticipantsLeftListener)

パラメーター

event

"callParticipantsLeft"

CallWithChatAdapterSubscriptions.offから継承

off("capabilitiesChanged", CapabilitiesChangedListener)

function off(event: "capabilitiesChanged", listener: CapabilitiesChangedListener)

パラメーター

event

"capabilitiesChanged"

CallWithChatAdapterSubscriptions.offから継承

off("captionsReceived", CaptionsReceivedListener)

function off(event: "captionsReceived", listener: CaptionsReceivedListener)

パラメーター

event

"captionsReceived"

CallWithChatAdapterSubscriptions.offから継承

off("chatError", (e: AdapterError) => void)

function off(event: "chatError", listener: (e: AdapterError) => void)

パラメーター

event

"chatError"

listener

(e: AdapterError) => void

CallWithChatAdapterSubscriptions.offから継承

off("chatInitialized", ChatInitializedListener)

function off(event: "chatInitialized", listener: ChatInitializedListener)

パラメーター

event

"chatInitialized"

CallWithChatAdapterSubscriptions.offから継承

off("chatParticipantsAdded", ParticipantsAddedListener)

function off(event: "chatParticipantsAdded", listener: ParticipantsAddedListener)

パラメーター

event

"chatParticipantsAdded"

CallWithChatAdapterSubscriptions.offから継承

off("chatParticipantsRemoved", ParticipantsRemovedListener)

function off(event: "chatParticipantsRemoved", listener: ParticipantsRemovedListener)

パラメーター

event

"chatParticipantsRemoved"

CallWithChatAdapterSubscriptions.offから継承

off("displayNameChanged", DisplayNameChangedListener)

function off(event: "displayNameChanged", listener: DisplayNameChangedListener)

パラメーター

event

"displayNameChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)

function off(event: "isCaptionLanguageChanged", listener: IsCaptionLanguageChangedListener)

パラメーター

event

"isCaptionLanguageChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)

function off(event: "isCaptionsActiveChanged", listener: IsCaptionsActiveChangedListener)

パラメーター

event

"isCaptionsActiveChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)

function off(event: "isLocalScreenSharingActiveChanged", listener: IsLocalScreenSharingActiveChangedListener)

パラメーター

event

"isLocalScreenSharingActiveChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isMutedChanged", IsMutedChangedListener)

function off(event: "isMutedChanged", listener: IsMutedChangedListener)

パラメーター

event

"isMutedChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isSpeakingChanged", IsSpeakingChangedListener)

function off(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)

パラメーター

event

"isSpeakingChanged"

CallWithChatAdapterSubscriptions.offから継承

off("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)

function off(event: "isSpokenLanguageChanged", listener: IsSpokenLanguageChangedListener)

パラメーター

event

"isSpokenLanguageChanged"

CallWithChatAdapterSubscriptions.offから継承

off("messageDeleted", MessageReceivedListener)

function off(event: "messageDeleted", listener: MessageReceivedListener)

パラメーター

event

"messageDeleted"

CallWithChatAdapterSubscriptions.offから継承

off("messageEdited", MessageReceivedListener)

function off(event: "messageEdited", listener: MessageReceivedListener)

パラメーター

event

"messageEdited"

CallWithChatAdapterSubscriptions.offから継承

off("messageRead", MessageReadListener)

function off(event: "messageRead", listener: MessageReadListener)

パラメーター

event

"messageRead"

CallWithChatAdapterSubscriptions.offから継承

off("messageReceived", MessageReceivedListener)

function off(event: "messageReceived", listener: MessageReceivedListener)

パラメーター

event

"messageReceived"

CallWithChatAdapterSubscriptions.offから継承

off("messageSent", MessageReceivedListener)

function off(event: "messageSent", listener: MessageReceivedListener)

パラメーター

event

"messageSent"

CallWithChatAdapterSubscriptions.offから継承

off("realTimeTextReceived", RealTimeTextReceivedListener)

function off(event: "realTimeTextReceived", listener: RealTimeTextReceivedListener)

パラメーター

event

"realTimeTextReceived"

CallWithChatAdapterSubscriptions.offから継承

off("selectedMicrophoneChanged", PropertyChangedEvent)

function off(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)

パラメーター

event

"selectedMicrophoneChanged"

CallWithChatAdapterSubscriptions.offから継承

off("selectedSpeakerChanged", PropertyChangedEvent)

function off(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)

パラメーター

event

"selectedSpeakerChanged"

CallWithChatAdapterSubscriptions.offから継承

off("spotlightChanged", SpotlightChangedListener)

function off(event: "spotlightChanged", listener: SpotlightChangedListener)

パラメーター

event

"spotlightChanged"

CallWithChatAdapterSubscriptions.offから継承

offStateChange((state: CallWithChatAdapterState) => void)

ハンドラーを stateChanged イベントの登録を解除します。

function offStateChange(handler: (state: CallWithChatAdapterState) => void)

パラメーター

handler

(state: CallWithChatAdapterState) => void

継承元AdapterState.offStateChange

on("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)

function on(event: "breakoutRoomsUpdated", listener: BreakoutRoomsUpdatedListener)

パラメーター

event

"breakoutRoomsUpdated"

CallWithChatAdapterSubscriptions.onから継承されます

on("callEnded", CallEndedListener)

function on(event: "callEnded", listener: CallEndedListener)

パラメーター

event

"callEnded"

CallWithChatAdapterSubscriptions.onから継承されます

on("callError", (e: AdapterError) => void)

function on(event: "callError", listener: (e: AdapterError) => void)

パラメーター

event

"callError"

listener

(e: AdapterError) => void

CallWithChatAdapterSubscriptions.onから継承されます

on("callIdChanged", CallIdChangedListener)

function on(event: "callIdChanged", listener: CallIdChangedListener)

パラメーター

event

"callIdChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("callParticipantsJoined", ParticipantsJoinedListener)

function on(event: "callParticipantsJoined", listener: ParticipantsJoinedListener)

パラメーター

event

"callParticipantsJoined"

CallWithChatAdapterSubscriptions.onから継承されます

on("callParticipantsLeft", ParticipantsLeftListener)

function on(event: "callParticipantsLeft", listener: ParticipantsLeftListener)

パラメーター

event

"callParticipantsLeft"

CallWithChatAdapterSubscriptions.onから継承されます

on("capabilitiesChanged", CapabilitiesChangedListener)

function on(event: "capabilitiesChanged", listener: CapabilitiesChangedListener)

パラメーター

event

"capabilitiesChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("captionsReceived", CaptionsReceivedListener)

function on(event: "captionsReceived", listener: CaptionsReceivedListener)

パラメーター

event

"captionsReceived"

CallWithChatAdapterSubscriptions.onから継承されます

on("chatError", (e: AdapterError) => void)

function on(event: "chatError", listener: (e: AdapterError) => void)

パラメーター

event

"chatError"

listener

(e: AdapterError) => void

CallWithChatAdapterSubscriptions.onから継承されます

on("chatInitialized", ChatInitializedListener)

function on(event: "chatInitialized", listener: ChatInitializedListener)

パラメーター

event

"chatInitialized"

CallWithChatAdapterSubscriptions.onから継承されます

on("chatParticipantsAdded", ParticipantsAddedListener)

function on(event: "chatParticipantsAdded", listener: ParticipantsAddedListener)

パラメーター

event

"chatParticipantsAdded"

CallWithChatAdapterSubscriptions.onから継承されます

on("chatParticipantsRemoved", ParticipantsRemovedListener)

function on(event: "chatParticipantsRemoved", listener: ParticipantsRemovedListener)

パラメーター

event

"chatParticipantsRemoved"

CallWithChatAdapterSubscriptions.onから継承されます

on("displayNameChanged", DisplayNameChangedListener)

function on(event: "displayNameChanged", listener: DisplayNameChangedListener)

パラメーター

event

"displayNameChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)

function on(event: "isCaptionLanguageChanged", listener: IsCaptionLanguageChangedListener)

パラメーター

event

"isCaptionLanguageChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)

function on(event: "isCaptionsActiveChanged", listener: IsCaptionsActiveChangedListener)

パラメーター

event

"isCaptionsActiveChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)

function on(event: "isLocalScreenSharingActiveChanged", listener: IsLocalScreenSharingActiveChangedListener)

パラメーター

event

"isLocalScreenSharingActiveChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isMutedChanged", IsMutedChangedListener)

function on(event: "isMutedChanged", listener: IsMutedChangedListener)

パラメーター

event

"isMutedChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isSpeakingChanged", IsSpeakingChangedListener)

function on(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)

パラメーター

event

"isSpeakingChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)

function on(event: "isSpokenLanguageChanged", listener: IsSpokenLanguageChangedListener)

パラメーター

event

"isSpokenLanguageChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("messageDeleted", MessageReceivedListener)

function on(event: "messageDeleted", listener: MessageReceivedListener)

パラメーター

event

"messageDeleted"

CallWithChatAdapterSubscriptions.onから継承されます

on("messageEdited", MessageReceivedListener)

function on(event: "messageEdited", listener: MessageReceivedListener)

パラメーター

event

"messageEdited"

CallWithChatAdapterSubscriptions.onから継承されます

on("messageRead", MessageReadListener)

function on(event: "messageRead", listener: MessageReadListener)

パラメーター

event

"messageRead"

CallWithChatAdapterSubscriptions.onから継承されます

on("messageReceived", MessageReceivedListener)

function on(event: "messageReceived", listener: MessageReceivedListener)

パラメーター

event

"messageReceived"

CallWithChatAdapterSubscriptions.onから継承されます

on("messageSent", MessageReceivedListener)

function on(event: "messageSent", listener: MessageReceivedListener)

パラメーター

event

"messageSent"

CallWithChatAdapterSubscriptions.onから継承されます

on("realTimeTextReceived", RealTimeTextReceivedListener)

function on(event: "realTimeTextReceived", listener: RealTimeTextReceivedListener)

パラメーター

event

"realTimeTextReceived"

CallWithChatAdapterSubscriptions.onから継承されます

on("selectedMicrophoneChanged", PropertyChangedEvent)

function on(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)

パラメーター

event

"selectedMicrophoneChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("selectedSpeakerChanged", PropertyChangedEvent)

function on(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)

パラメーター

event

"selectedSpeakerChanged"

CallWithChatAdapterSubscriptions.onから継承されます

on("spotlightChanged", SpotlightChangedListener)

function on(event: "spotlightChanged", listener: SpotlightChangedListener)

パラメーター

event

"spotlightChanged"

CallWithChatAdapterSubscriptions.onから継承されます

onReactionClick(Reaction)

進行中の会議にリアクションを送信します。

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

パラメーター

reaction
Reaction

type の値 <xref:%40azure%2Fcommunication-calling%23Reaction>

戻り値

Promise<void>

CallWithChatAdapterManagement.onReactionClickから継承

onStateChange((state: CallWithChatAdapterState) => void)

ハンドラーを stateChanged イベントにサブスクライブします。

function onStateChange(handler: (state: CallWithChatAdapterState) => void)

パラメーター

handler

(state: CallWithChatAdapterState) => void

継承元AdapterState.onStateChange

queryCameras()

使用可能なカメラ デバイスのクエリを実行します。

function queryCameras(): Promise<VideoDeviceInfo[]>

戻り値

Promise<VideoDeviceInfo[]>

ビデオ デバイス情報エンティティの配列 <xref:%40azure%2Fcommunication-calling%23VideoDeviceInfo>

注釈

このメソッドは askDevicePermission() の後に呼び出す必要があります

CallWithChatAdapterManagement.queryCamerasから継承

queryMicrophones()

使用可能なマイク デバイスのクエリを実行します。

function queryMicrophones(): Promise<AudioDeviceInfo[]>

戻り値

Promise<AudioDeviceInfo[]>

オーディオ デバイス情報エンティティの配列 <xref:%40azure%2Fcommunication-calling%23AudioDeviceInfo>

注釈

このメソッドは askDevicePermission() の後に呼び出す必要があります

CallWithChatAdapterManagement.queryMicrophonesから継承

querySpeakers()

使用可能なマイク デバイスのクエリを実行します。

function querySpeakers(): Promise<AudioDeviceInfo[]>

戻り値

Promise<AudioDeviceInfo[]>

オーディオ デバイス情報エンティティの配列 <xref:%40azure%2Fcommunication-calling%23AudioDeviceInfo>

注釈

このメソッドは askDevicePermission() の後に呼び出す必要があります

CallWithChatAdapterManagement.querySpeakersから継承

raiseHand()

ローカルユーザーのために手を挙げます。

function raiseHand(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.raiseHandから継承

removeParticipant(CommunicationIdentifier)

通話から参加者を削除します。

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

パラメーター

participant
CommunicationIdentifier

<xref:%40azure%2Fcommunication-common%23CommunicationIdentifier> 除名される参加者の

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.removeParticipant

removeParticipant(string)

通話から参加者を削除します。

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

パラメーター

userId

string

削除する参加者の UserId。

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.removeParticipant

removeResourceFromCache(ResourceDetails)

function removeResourceFromCache(resourceDetails: ResourceDetails)

パラメーター

resourceDetails
ResourceDetails

CallWithChatAdapterManagement.removeResourceFromCacheから継承

resumeCall()

LocalHold 状態から呼び出しを再開します。

function resumeCall(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.resumeCallから継承されます

returnFromBreakoutRoom()

ブレイクアウトルームの発信元に戻る

function returnFromBreakoutRoom(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.returnFromBreakoutRoom

sendMessage(string, SendMessageOptions)

スレッドでメッセージを送信します。

function sendMessage(content: string, options?: SendMessageOptions): Promise<void>

パラメーター

content

string

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.sendMessage

sendReadReceipt(string)

メッセージの開封確認メッセージを送信します。

function sendReadReceipt(chatMessageId: string): Promise<void>

パラメーター

chatMessageId

string

戻り値

Promise<void>

CallWithChatAdapterManagement.sendReadReceiptから継承

sendTypingIndicator()

スレッドで入力インジケーターを送信します。

function sendTypingIndicator(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.sendTypingIndicator

setCamera(VideoDeviceInfo, VideoStreamOptions)

通話で使用するカメラを設定します。

function setCamera(sourceInfo: VideoDeviceInfo, options?: VideoStreamOptions): Promise<void>

パラメーター

sourceInfo
VideoDeviceInfo

選択するカメラ デバイスで、queryCameras によって返されたものを選択します

options
VideoStreamOptions

カメラ ストリームのレンダリング方法を制御するオプション <xref:%40azure%2Fcommunication-calling%23VideoStreamOptions>

戻り値

Promise<void>

CallWithChatAdapterManagement.setCameraから継承されます

setCaptionLanguage(string)

キャプション言語を設定する機能

function setCaptionLanguage(language: string): Promise<void>

パラメーター

language

string

キャプションの言語セット

戻り値

Promise<void>

CallWithChatAdapterManagement.setCaptionLanguageから継承

setMicrophone(AudioDeviceInfo)

通話で使用するマイクを設定します。

function setMicrophone(sourceInfo: AudioDeviceInfo): Promise<void>

パラメーター

sourceInfo
AudioDeviceInfo

選択するマイクデバイスは、queryMicrophones によって返されたものを選択

戻り値

Promise<void>

CallWithChatAdapterManagement.setMicrophoneから継承

setSpeaker(AudioDeviceInfo)

通話で使用するスピーカーを設定します。

function setSpeaker(sourceInfo: AudioDeviceInfo): Promise<void>

パラメーター

sourceInfo
AudioDeviceInfo

選択するスピーカー デバイスで、querySpeakers によって返されたものを選択します

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.setSpeaker

setSpokenLanguage(string)

音声言語を設定する機能

function setSpokenLanguage(language: string): Promise<void>

パラメーター

language

string

話し言葉

戻り値

Promise<void>

CallWithChatAdapterManagement.setSpokenLanguageから継承

setTogetherModeSceneSize(number, number)

Together モードの着座位置を再計算します。

function setTogetherModeSceneSize(width: number, height: number)

パラメーター

width

number

コンテナの幅

height

number

コンテナの高さ

注釈

このメソッドは複合用に実装されています。

継承元CallWithChatAdapterManagement.setTogetherModeSceneSize

startCall((CommunicationUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], StartCallOptions)

呼び出しを開始します。

function startCall(participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): undefined | Call

パラメーター

participants

(CommunicationUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[]

呼び出される <xref:%40azure%2Fcommunication-common%23CommunicationIdentifier> の配列

戻り値

undefined | Call

CallWithChatAdapterManagement.startCallから継承されます

startCall(string[], StartCallOptions)

呼び出しを開始します。

function startCall(participants: string[], options?: StartCallOptions): undefined | Call

パラメーター

participants

string[]

参加する参加者 ID の配列

戻り値

undefined | Call

CallWithChatAdapterManagement.startCallから継承されます

startCamera(VideoStreamOptions)

カメラを起動します。

このメソッドは、呼び出しがアクティブでない場合にローカル カメラ ビューのレンダリングを開始します。

function startCamera(options?: VideoStreamOptions): Promise<void>

パラメーター

options
VideoStreamOptions

ビデオ ストリームのレンダリング方法を制御するオプション <xref:%40azure%2Fcommunication-calling%23VideoStreamOptions>

戻り値

Promise<void>

CallWithChatAdapterManagement.startCameraから継承されます

startCaptions(StartCaptionsAdapterOptions)

キャプションを開始する機能

function startCaptions(options?: StartCaptionsAdapterOptions): Promise<void>

パラメーター

options
StartCaptionsAdapterOptions

開始キャプションのオプション

戻り値

Promise<void>

CallWithChatAdapterManagement.startCaptionsから継承

startNoiseSuppressionEffect()

ノイズ抑制効果を開始します。

function startNoiseSuppressionEffect(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.startNoiseSuppressionEffect

startScreenShare()

通話中に画面の共有を開始します。

function startScreenShare(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.startScreenShare

startSpotlight(string[])

スポットライトを開始

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

パラメーター

userIds

string[]

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.startSpotlight

startTogetherMode()

一緒に開始モード。

function startTogetherMode(): Promise<void>

戻り値

Promise<void>

注釈

このメソッドは複合用に実装されています。

CallWithChatAdapterManagement.startTogetherModeから継承

startVideoBackgroundEffect(VideoBackgroundEffect)

ビデオの背景効果を開始します。

function startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>

パラメーター

videoBackgroundEffect
VideoBackgroundEffect

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.startVideoBackgroundEffect

stopAllSpotlight()

すべてのスポットライトを止める

function stopAllSpotlight(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.stopAllSpotlight

stopCamera()

カメラを停止します。

このメソッドは、呼び出しがアクティブでない場合、ローカル カメラ ビューのレンダリングを停止します。

function stopCamera(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.stopCameraから継承されます

stopCaptions(StopCaptionsAdapterOptions)

キャプションを停止する機能

function stopCaptions(options?: StopCaptionsAdapterOptions): Promise<void>

パラメーター

戻り値

Promise<void>

CallWithChatAdapterManagement.stopCaptionsから継承されます

stopNoiseSuppressionEffect()

ノイズ抑制効果を開始します。

function stopNoiseSuppressionEffect(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.stopNoiseSuppressionEffectから継承されます

stopScreenShare()

画面の共有を停止します。

function stopScreenShare(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.stopScreenShareから継承

stopSpotlight(string[])

スポットライトを止める

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

パラメーター

userIds

string[]

戻り値

Promise<void>

CallWithChatAdapterManagement.stopSpotlightから継承

stopVideoBackgroundEffects()

ビデオの背景効果を停止します。

function stopVideoBackgroundEffects(): Promise<void>

戻り値

Promise<void>

継承元CallWithChatAdapterManagement.stopVideoBackgroundEffects

submitSurvey(CallSurvey)

通話終了の調査結果を送信する

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

パラメーター

survey
CallSurvey

戻り値

Promise<undefined | CallSurveyResponse>

継承元CallWithChatAdapterManagement.submitSurvey

unmute()

通話中に現在のユーザーのミュートを解除するか、ローカルでマイクを有効にします。

function unmute(): Promise<void>

戻り値

Promise<void>

CallWithChatAdapterManagement.unmuteから継承されます

updateBackgroundPickerImages(VideoBackgroundImage[])

背景ピッカーの画像を上書きして、背景の置換効果を得ます。

function updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[])

パラメーター

backgroundImages

VideoBackgroundImage[]

カスタム背景画像の配列。

CallWithChatAdapterManagement.updateBackgroundPickerImagesから継承されます

updateMessage(string, string, Record<string, string>)

メッセージの内容を更新します。

function updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>

パラメーター

messageId

string

content

string

options

Record<string, string>

戻り値

Promise<void>

CallWithChatAdapterManagement.updateMessageから継承されます

updateSelectedVideoBackgroundEffect(VideoBackgroundEffect)

選択したビデオの背景効果を更新する

function updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect)

パラメーター

selectedVideoBackground
VideoBackgroundEffect

CallWithChatAdapterManagement.updateSelectedVideoBackgroundEffectから継承されます