次の方法で共有


CallConnection class

CallConnection クラスは、呼び出し接続ベースの API を表します。

コンストラクター

CallConnection(string, string, TokenCredential | KeyCredential, CallAutomationApiClientOptionalParams)

メソッド

addParticipant(CallInvite, AddParticipantOptions)

通話に参加者を追加する

cancelAddParticipantOperation(string, CancelAddParticipantOperationOptions)

参加者の追加リクエストをキャンセルします。

getCallConnectionProperties(OperationOptions)

呼び出しの呼び出し接続プロパティを取得する

getCallMedia()

CallMedia の新しいインスタンスを初期化します。

getParticipant(CommunicationIdentifier, OperationOptions)

通話から参加者を取得する

hangUp(boolean, OperationOptions)

それ自体の呼び出しを切断するか、呼び出し全体を終了します。

listParticipants(OperationOptions)

通話からすべての参加者を取得する

muteParticipant(CommunicationIdentifier, MuteParticipantOption)

通話から参加者をミュートします。

removeParticipant(CommunicationIdentifier, RemoveParticipantsOption)

通話から参加者を削除する

transferCallToParticipant(CommunicationIdentifier, TransferCallToParticipantOptions)

通話をターゲット参加者に転送する

コンストラクターの詳細

CallConnection(string, string, TokenCredential | KeyCredential, CallAutomationApiClientOptionalParams)

new CallConnection(callConnectionId: string, endpoint: string, credential: TokenCredential | KeyCredential, options?: CallAutomationApiClientOptionalParams)

パラメーター

callConnectionId

string

endpoint

string

options

CallAutomationApiClientOptionalParams

メソッドの詳細

addParticipant(CallInvite, AddParticipantOptions)

通話に参加者を追加する

function addParticipant(targetParticipant: CallInvite, options?: AddParticipantOptions): Promise<AddParticipantResult>

パラメーター

targetParticipant
CallInvite

戻り値

cancelAddParticipantOperation(string, CancelAddParticipantOperationOptions)

参加者の追加リクエストをキャンセルします。

function cancelAddParticipantOperation(invitationId: string, options?: CancelAddParticipantOperationOptions): Promise<CancelAddParticipantOperationResult>

パラメーター

invitationId

string

参加者の追加要求をキャンセルするために使用される招待 ID。

戻り値

getCallConnectionProperties(OperationOptions)

呼び出しの呼び出し接続プロパティを取得する

function getCallConnectionProperties(options?: OperationOptions): Promise<CallConnectionProperties>

パラメーター

戻り値

getCallMedia()

CallMedia の新しいインスタンスを初期化します。

function getCallMedia(): CallMedia

戻り値

getParticipant(CommunicationIdentifier, OperationOptions)

通話から参加者を取得する

function getParticipant(targetParticipant: CommunicationIdentifier, options?: OperationOptions): Promise<CallParticipant>

パラメーター

targetParticipant
CommunicationIdentifier

要求された参加者の通信識別子。

戻り値

Promise<CallParticipant>

hangUp(boolean, OperationOptions)

それ自体の呼び出しを切断するか、呼び出し全体を終了します。

function hangUp(isForEveryone: boolean, options?: OperationOptions): Promise<void>

パラメーター

isForEveryone

boolean

戻り値

Promise<void>

listParticipants(OperationOptions)

通話からすべての参加者を取得する

function listParticipants(options?: OperationOptions): Promise<ListParticipantsResult>

パラメーター

戻り値

muteParticipant(CommunicationIdentifier, MuteParticipantOption)

通話から参加者をミュートします。

function muteParticipant(participant: CommunicationIdentifier, options?: MuteParticipantOption): Promise<MuteParticipantResult>

パラメーター

participant
CommunicationIdentifier

通話からミュートされる参加者。

options
MuteParticipantOption

ミュート参加者の追加の属性。

戻り値

removeParticipant(CommunicationIdentifier, RemoveParticipantsOption)

通話から参加者を削除する

function removeParticipant(participant: CommunicationIdentifier, options?: RemoveParticipantsOption): Promise<RemoveParticipantResult>

パラメーター

participant
CommunicationIdentifier

参加者は通話から削除されます。

戻り値

transferCallToParticipant(CommunicationIdentifier, TransferCallToParticipantOptions)

通話をターゲット参加者に転送する

function transferCallToParticipant(targetParticipant: CommunicationIdentifier, options?: TransferCallToParticipantOptions): Promise<TransferCallResult>

パラメーター

targetParticipant
CommunicationIdentifier

転送先のターゲット。

戻り値