CallWithChatAdapter interface
CallWithChatComposite アダプター インターフェイスを します。
- Extends
継承されたプロパティ
| forbid |
指定したユーザー ID の音声を禁止します。 |
| forbid |
ローカル ユーザーを除く Teams 会議の出席者の音声を禁止します。 |
| forbid |
ローカル ユーザー以外の Teams 会議出席者のビデオを禁止します。 |
| forbid |
指定したユーザーIDの動画を禁止します。 |
| permit |
指定したユーザー ID のオーディオを許可します。 |
| permit |
ローカル ユーザーを除く Teams 会議の出席者のオーディオを許可します。 |
| permit |
ローカル ユーザーを除く Teams 会議の出席者に対してビデオを許可します。 |
| permit |
指定したユーザー ID のビデオを許可します。 |
| send |
DTMF トーンを 1:1 通話で通話の別の参加者に送信する |
| send |
リアルタイムのテキストを送信 |
継承されたメソッド
継承されたプロパティの詳細
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>
パラメーター
- participant
- CommunicationUserIdentifier
戻り値
Promise<void>
CallWithChatAdapterManagement.addParticipantから継承
addParticipant(PhoneNumberIdentifier, AddPhoneNumberOptions)
新しい参加者を通話に追加します。
function addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>
パラメーター
- participant
- PhoneNumberIdentifier
- options
- AddPhoneNumberOptions
戻り値
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>
戻り値
Promise<void | TogetherModeStreamViewResult>
注釈
このメソッドは複合用に実装されています。
CallWithChatAdapterManagement.createTogetherModeStreamViewから継承されます
deleteMessage(string)
スレッド内のメッセージを削除します。
function deleteMessage(messageId: string): Promise<void>
パラメーター
- messageId
-
string
戻り値
Promise<void>
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
戻り値
holdCall()
通話をローカルホールドにします。
function holdCall(): Promise<void>
戻り値
Promise<void>
CallWithChatAdapterManagement.holdCallから継承されます
joinCall(boolean)
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>
off("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)
function off(event: "breakoutRoomsUpdated", listener: BreakoutRoomsUpdatedListener)
パラメーター
- event
-
"breakoutRoomsUpdated"
- listener
- BreakoutRoomsUpdatedListener
CallWithChatAdapterSubscriptions.offから継承
off("callEnded", CallEndedListener)
function off(event: "callEnded", listener: CallEndedListener)
パラメーター
- event
-
"callEnded"
- listener
- CallEndedListener
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"
- listener
- CallIdChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("callParticipantsJoined", ParticipantsJoinedListener)
function off(event: "callParticipantsJoined", listener: ParticipantsJoinedListener)
パラメーター
- event
-
"callParticipantsJoined"
- listener
- ParticipantsJoinedListener
CallWithChatAdapterSubscriptions.offから継承
off("callParticipantsLeft", ParticipantsLeftListener)
function off(event: "callParticipantsLeft", listener: ParticipantsLeftListener)
パラメーター
- event
-
"callParticipantsLeft"
- listener
- ParticipantsLeftListener
CallWithChatAdapterSubscriptions.offから継承
off("capabilitiesChanged", CapabilitiesChangedListener)
function off(event: "capabilitiesChanged", listener: CapabilitiesChangedListener)
パラメーター
- event
-
"capabilitiesChanged"
- listener
- CapabilitiesChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("captionsReceived", CaptionsReceivedListener)
function off(event: "captionsReceived", listener: CaptionsReceivedListener)
パラメーター
- event
-
"captionsReceived"
- listener
- CaptionsReceivedListener
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"
- listener
- ChatInitializedListener
CallWithChatAdapterSubscriptions.offから継承
off("chatParticipantsAdded", ParticipantsAddedListener)
function off(event: "chatParticipantsAdded", listener: ParticipantsAddedListener)
パラメーター
- event
-
"chatParticipantsAdded"
- listener
- ParticipantsAddedListener
CallWithChatAdapterSubscriptions.offから継承
off("chatParticipantsRemoved", ParticipantsRemovedListener)
function off(event: "chatParticipantsRemoved", listener: ParticipantsRemovedListener)
パラメーター
- event
-
"chatParticipantsRemoved"
- listener
- ParticipantsRemovedListener
CallWithChatAdapterSubscriptions.offから継承
off("displayNameChanged", DisplayNameChangedListener)
function off(event: "displayNameChanged", listener: DisplayNameChangedListener)
パラメーター
- event
-
"displayNameChanged"
- listener
- DisplayNameChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)
function off(event: "isCaptionLanguageChanged", listener: IsCaptionLanguageChangedListener)
パラメーター
- event
-
"isCaptionLanguageChanged"
- listener
- IsCaptionLanguageChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)
function off(event: "isCaptionsActiveChanged", listener: IsCaptionsActiveChangedListener)
パラメーター
- event
-
"isCaptionsActiveChanged"
- listener
- IsCaptionsActiveChangedListener
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"
- listener
- IsMutedChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("isSpeakingChanged", IsSpeakingChangedListener)
function off(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)
パラメーター
- event
-
"isSpeakingChanged"
- listener
- IsSpeakingChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)
function off(event: "isSpokenLanguageChanged", listener: IsSpokenLanguageChangedListener)
パラメーター
- event
-
"isSpokenLanguageChanged"
- listener
- IsSpokenLanguageChangedListener
CallWithChatAdapterSubscriptions.offから継承
off("messageDeleted", MessageReceivedListener)
function off(event: "messageDeleted", listener: MessageReceivedListener)
パラメーター
- event
-
"messageDeleted"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.offから継承
off("messageEdited", MessageReceivedListener)
function off(event: "messageEdited", listener: MessageReceivedListener)
パラメーター
- event
-
"messageEdited"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.offから継承
off("messageRead", MessageReadListener)
function off(event: "messageRead", listener: MessageReadListener)
パラメーター
- event
-
"messageRead"
- listener
- MessageReadListener
CallWithChatAdapterSubscriptions.offから継承
off("messageReceived", MessageReceivedListener)
function off(event: "messageReceived", listener: MessageReceivedListener)
パラメーター
- event
-
"messageReceived"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.offから継承
off("messageSent", MessageReceivedListener)
function off(event: "messageSent", listener: MessageReceivedListener)
パラメーター
- event
-
"messageSent"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.offから継承
off("realTimeTextReceived", RealTimeTextReceivedListener)
function off(event: "realTimeTextReceived", listener: RealTimeTextReceivedListener)
パラメーター
- event
-
"realTimeTextReceived"
- listener
- RealTimeTextReceivedListener
CallWithChatAdapterSubscriptions.offから継承
off("selectedMicrophoneChanged", PropertyChangedEvent)
function off(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)
パラメーター
- event
-
"selectedMicrophoneChanged"
- listener
- PropertyChangedEvent
CallWithChatAdapterSubscriptions.offから継承
off("selectedSpeakerChanged", PropertyChangedEvent)
function off(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)
パラメーター
- event
-
"selectedSpeakerChanged"
- listener
- PropertyChangedEvent
CallWithChatAdapterSubscriptions.offから継承
off("spotlightChanged", SpotlightChangedListener)
function off(event: "spotlightChanged", listener: SpotlightChangedListener)
パラメーター
- event
-
"spotlightChanged"
- listener
- SpotlightChangedListener
CallWithChatAdapterSubscriptions.offから継承
offStateChange((state: CallWithChatAdapterState) => void)
ハンドラーを stateChanged イベントの登録を解除します。
function offStateChange(handler: (state: CallWithChatAdapterState) => void)
パラメーター
- handler
-
(state: CallWithChatAdapterState) => void
on("breakoutRoomsUpdated", BreakoutRoomsUpdatedListener)
function on(event: "breakoutRoomsUpdated", listener: BreakoutRoomsUpdatedListener)
パラメーター
- event
-
"breakoutRoomsUpdated"
- listener
- BreakoutRoomsUpdatedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("callEnded", CallEndedListener)
function on(event: "callEnded", listener: CallEndedListener)
パラメーター
- event
-
"callEnded"
- listener
- CallEndedListener
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"
- listener
- CallIdChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("callParticipantsJoined", ParticipantsJoinedListener)
function on(event: "callParticipantsJoined", listener: ParticipantsJoinedListener)
パラメーター
- event
-
"callParticipantsJoined"
- listener
- ParticipantsJoinedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("callParticipantsLeft", ParticipantsLeftListener)
function on(event: "callParticipantsLeft", listener: ParticipantsLeftListener)
パラメーター
- event
-
"callParticipantsLeft"
- listener
- ParticipantsLeftListener
CallWithChatAdapterSubscriptions.onから継承されます
on("capabilitiesChanged", CapabilitiesChangedListener)
function on(event: "capabilitiesChanged", listener: CapabilitiesChangedListener)
パラメーター
- event
-
"capabilitiesChanged"
- listener
- CapabilitiesChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("captionsReceived", CaptionsReceivedListener)
function on(event: "captionsReceived", listener: CaptionsReceivedListener)
パラメーター
- event
-
"captionsReceived"
- listener
- CaptionsReceivedListener
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"
- listener
- ChatInitializedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("chatParticipantsAdded", ParticipantsAddedListener)
function on(event: "chatParticipantsAdded", listener: ParticipantsAddedListener)
パラメーター
- event
-
"chatParticipantsAdded"
- listener
- ParticipantsAddedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("chatParticipantsRemoved", ParticipantsRemovedListener)
function on(event: "chatParticipantsRemoved", listener: ParticipantsRemovedListener)
パラメーター
- event
-
"chatParticipantsRemoved"
- listener
- ParticipantsRemovedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("displayNameChanged", DisplayNameChangedListener)
function on(event: "displayNameChanged", listener: DisplayNameChangedListener)
パラメーター
- event
-
"displayNameChanged"
- listener
- DisplayNameChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("isCaptionLanguageChanged", IsCaptionLanguageChangedListener)
function on(event: "isCaptionLanguageChanged", listener: IsCaptionLanguageChangedListener)
パラメーター
- event
-
"isCaptionLanguageChanged"
- listener
- IsCaptionLanguageChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("isCaptionsActiveChanged", IsCaptionsActiveChangedListener)
function on(event: "isCaptionsActiveChanged", listener: IsCaptionsActiveChangedListener)
パラメーター
- event
-
"isCaptionsActiveChanged"
- listener
- IsCaptionsActiveChangedListener
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"
- listener
- IsMutedChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("isSpeakingChanged", IsSpeakingChangedListener)
function on(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)
パラメーター
- event
-
"isSpeakingChanged"
- listener
- IsSpeakingChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("isSpokenLanguageChanged", IsSpokenLanguageChangedListener)
function on(event: "isSpokenLanguageChanged", listener: IsSpokenLanguageChangedListener)
パラメーター
- event
-
"isSpokenLanguageChanged"
- listener
- IsSpokenLanguageChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("messageDeleted", MessageReceivedListener)
function on(event: "messageDeleted", listener: MessageReceivedListener)
パラメーター
- event
-
"messageDeleted"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("messageEdited", MessageReceivedListener)
function on(event: "messageEdited", listener: MessageReceivedListener)
パラメーター
- event
-
"messageEdited"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("messageRead", MessageReadListener)
function on(event: "messageRead", listener: MessageReadListener)
パラメーター
- event
-
"messageRead"
- listener
- MessageReadListener
CallWithChatAdapterSubscriptions.onから継承されます
on("messageReceived", MessageReceivedListener)
function on(event: "messageReceived", listener: MessageReceivedListener)
パラメーター
- event
-
"messageReceived"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("messageSent", MessageReceivedListener)
function on(event: "messageSent", listener: MessageReceivedListener)
パラメーター
- event
-
"messageSent"
- listener
- MessageReceivedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("realTimeTextReceived", RealTimeTextReceivedListener)
function on(event: "realTimeTextReceived", listener: RealTimeTextReceivedListener)
パラメーター
- event
-
"realTimeTextReceived"
- listener
- RealTimeTextReceivedListener
CallWithChatAdapterSubscriptions.onから継承されます
on("selectedMicrophoneChanged", PropertyChangedEvent)
function on(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)
パラメーター
- event
-
"selectedMicrophoneChanged"
- listener
- PropertyChangedEvent
CallWithChatAdapterSubscriptions.onから継承されます
on("selectedSpeakerChanged", PropertyChangedEvent)
function on(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)
パラメーター
- event
-
"selectedSpeakerChanged"
- listener
- PropertyChangedEvent
CallWithChatAdapterSubscriptions.onから継承されます
on("spotlightChanged", SpotlightChangedListener)
function on(event: "spotlightChanged", listener: SpotlightChangedListener)
パラメーター
- event
-
"spotlightChanged"
- listener
- SpotlightChangedListener
CallWithChatAdapterSubscriptions.onから継承されます
onReactionClick(Reaction)
onStateChange((state: CallWithChatAdapterState) => void)
ハンドラーを stateChanged イベントにサブスクライブします。
function onStateChange(handler: (state: CallWithChatAdapterState) => void)
パラメーター
- handler
-
(state: CallWithChatAdapterState) => void
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>
removeParticipant(string)
通話から参加者を削除します。
function removeParticipant(userId: string): Promise<void>
パラメーター
- userId
-
string
削除する参加者の UserId。
戻り値
Promise<void>
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>
sendMessage(string, SendMessageOptions)
スレッドでメッセージを送信します。
function sendMessage(content: string, options?: SendMessageOptions): Promise<void>
パラメーター
- content
-
string
- options
- SendMessageOptions
戻り値
Promise<void>
sendReadReceipt(string)
メッセージの開封確認メッセージを送信します。
function sendReadReceipt(chatMessageId: string): Promise<void>
パラメーター
- chatMessageId
-
string
戻り値
Promise<void>
CallWithChatAdapterManagement.sendReadReceiptから継承
sendTypingIndicator()
スレッドで入力インジケーターを送信します。
function sendTypingIndicator(): Promise<void>
戻り値
Promise<void>
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>
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
コンテナの高さ
注釈
このメソッドは複合用に実装されています。
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> の配列
- options
- StartCallOptions
戻り値
undefined | Call
CallWithChatAdapterManagement.startCallから継承されます
startCall(string[], StartCallOptions)
呼び出しを開始します。
function startCall(participants: string[], options?: StartCallOptions): undefined | Call
パラメーター
- participants
-
string[]
参加する参加者 ID の配列
- options
- StartCallOptions
戻り値
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>
startSpotlight(string[])
スポットライトを開始
function startSpotlight(userIds?: string[]): Promise<void>
パラメーター
- userIds
-
string[]
戻り値
Promise<void>
startTogetherMode()
一緒に開始モード。
function startTogetherMode(): Promise<void>
戻り値
Promise<void>
注釈
このメソッドは複合用に実装されています。
CallWithChatAdapterManagement.startTogetherModeから継承
startVideoBackgroundEffect(VideoBackgroundEffect)
ビデオの背景効果を開始します。
function startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>
パラメーター
- videoBackgroundEffect
- VideoBackgroundEffect
戻り値
Promise<void>
stopAllSpotlight()
すべてのスポットライトを止める
function stopAllSpotlight(): Promise<void>
戻り値
Promise<void>
stopCamera()
カメラを停止します。
このメソッドは、呼び出しがアクティブでない場合、ローカル カメラ ビューのレンダリングを停止します。
function stopCamera(): Promise<void>
戻り値
Promise<void>
CallWithChatAdapterManagement.stopCameraから継承されます
stopCaptions(StopCaptionsAdapterOptions)
キャプションを停止する機能
function stopCaptions(options?: StopCaptionsAdapterOptions): Promise<void>
パラメーター
- options
- StopCaptionsAdapterOptions
戻り値
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>
submitSurvey(CallSurvey)
通話終了の調査結果を送信する
function submitSurvey(survey: CallSurvey): Promise<undefined | CallSurveyResponse>
パラメーター
- survey
- CallSurvey
戻り値
Promise<undefined | CallSurveyResponse>
unmute()
通話中に現在のユーザーのミュートを解除するか、ローカルでマイクを有効にします。
function unmute(): Promise<void>
戻り値
Promise<void>
CallWithChatAdapterManagement.unmuteから継承されます
updateBackgroundPickerImages(VideoBackgroundImage[])
背景ピッカーの画像を上書きして、背景の置換効果を得ます。
function updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[])
パラメーター
- backgroundImages
カスタム背景画像の配列。
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から継承されます