azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.cal...

302 строки
27 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.callautomation.CallConnection"
fullName: "com.azure.communication.callautomation.CallConnection"
name: "CallConnection"
nameWithType: "CallConnection"
summary: "Call<wbr>Connection for mid-call actions"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CallConnection**"
methods:
- uid: "com.azure.communication.callautomation.CallConnection.addParticipant(com.azure.communication.callautomation.models.CallInvite)"
fullName: "com.azure.communication.callautomation.CallConnection.addParticipant(CallInvite participant)"
name: "addParticipant(CallInvite participant)"
nameWithType: "CallConnection.addParticipant(CallInvite participant)"
summary: "Add a participant to the call."
parameters:
- description: "participant to invite."
name: "participant"
type: "<xref href=\"com.azure.communication.callautomation.models.CallInvite?alt=com.azure.communication.callautomation.models.CallInvite&text=CallInvite\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AddParticipantResult addParticipant(CallInvite participant)"
desc: "Add a participant to the call."
returns:
description: "Result of adding a participant."
type: "<xref href=\"com.azure.communication.callautomation.models.AddParticipantResult?alt=com.azure.communication.callautomation.models.AddParticipantResult&text=AddParticipantResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.addParticipantWithResponse(com.azure.communication.callautomation.models.AddParticipantOptions,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.addParticipantWithResponse(AddParticipantOptions addParticipantOptions, Context context)"
name: "addParticipantWithResponse(AddParticipantOptions addParticipantOptions, Context context)"
nameWithType: "CallConnection.addParticipantWithResponse(AddParticipantOptions addParticipantOptions, Context context)"
summary: "Add a participant to the call."
parameters:
- description: "Options bag for addParticipant"
name: "addParticipantOptions"
type: "<xref href=\"com.azure.communication.callautomation.models.AddParticipantOptions?alt=com.azure.communication.callautomation.models.AddParticipantOptions&text=AddParticipantOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<AddParticipantResult> addParticipantWithResponse(AddParticipantOptions addParticipantOptions, Context context)"
desc: "Add a participant to the call."
returns:
description: "Response with result of adding a participant."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.AddParticipantResult?alt=com.azure.communication.callautomation.models.AddParticipantResult&text=AddParticipantResult\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.cancelAddParticipantOperation(java.lang.String)"
fullName: "com.azure.communication.callautomation.CallConnection.cancelAddParticipantOperation(String invitationId)"
name: "cancelAddParticipantOperation(String invitationId)"
nameWithType: "CallConnection.cancelAddParticipantOperation(String invitationId)"
summary: "Cancel add participant operation request."
parameters:
- description: "invitation ID used to add participant."
name: "invitationId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CancelAddParticipantOperationResult cancelAddParticipantOperation(String invitationId)"
desc: "Cancel add participant operation request."
returns:
description: "Result of cancelling add participant request."
type: "<xref href=\"com.azure.communication.callautomation.models.CancelAddParticipantOperationResult?alt=com.azure.communication.callautomation.models.CancelAddParticipantOperationResult&text=CancelAddParticipantOperationResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.cancelAddParticipantOperationWithResponse(com.azure.communication.callautomation.models.CancelAddParticipantOperationOptions,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions, Context context)"
name: "cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions, Context context)"
nameWithType: "CallConnection.cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions, Context context)"
summary: "Cancel add participant operation request."
parameters:
- description: "The options for cancelling add participant operation request."
name: "cancelAddParticipantOperationOptions"
type: "<xref href=\"com.azure.communication.callautomation.models.CancelAddParticipantOperationOptions?alt=com.azure.communication.callautomation.models.CancelAddParticipantOperationOptions&text=CancelAddParticipantOperationOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<CancelAddParticipantOperationResult> cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions, Context context)"
desc: "Cancel add participant operation request."
returns:
description: "Response with result of cancelling add participant request."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.CancelAddParticipantOperationResult?alt=com.azure.communication.callautomation.models.CancelAddParticipantOperationResult&text=CancelAddParticipantOperationResult\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.getCallMedia()"
fullName: "com.azure.communication.callautomation.CallConnection.getCallMedia()"
name: "getCallMedia()"
nameWithType: "CallConnection.getCallMedia()"
summary: "Returns an object of Call<wbr>Content"
syntax: "public CallMedia getCallMedia()"
desc: "Returns an object of CallContent"
returns:
description: "a CallMediaAsync."
type: "<xref href=\"com.azure.communication.callautomation.CallMedia?alt=com.azure.communication.callautomation.CallMedia&text=CallMedia\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.getCallProperties()"
fullName: "com.azure.communication.callautomation.CallConnection.getCallProperties()"
name: "getCallProperties()"
nameWithType: "CallConnection.getCallProperties()"
summary: "Get call connection properties."
syntax: "public CallConnectionProperties getCallProperties()"
desc: "Get call connection properties."
returns:
description: "Response payload for a successful get call connection request."
type: "<xref href=\"com.azure.communication.callautomation.models.CallConnectionProperties?alt=com.azure.communication.callautomation.models.CallConnectionProperties&text=CallConnectionProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.getCallPropertiesWithResponse(com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.getCallPropertiesWithResponse(Context context)"
name: "getCallPropertiesWithResponse(Context context)"
nameWithType: "CallConnection.getCallPropertiesWithResponse(Context context)"
summary: "Get call connection properties."
parameters:
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<CallConnectionProperties> getCallPropertiesWithResponse(Context context)"
desc: "Get call connection properties."
returns:
description: "Response payload for a successful get call connection request."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.CallConnectionProperties?alt=com.azure.communication.callautomation.models.CallConnectionProperties&text=CallConnectionProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.getParticipant(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.callautomation.CallConnection.getParticipant(CommunicationIdentifier targetParticipant)"
name: "getParticipant(CommunicationIdentifier targetParticipant)"
nameWithType: "CallConnection.getParticipant(CommunicationIdentifier targetParticipant)"
summary: "Get a specific participant."
parameters:
- description: "The participant to retrieve."
name: "targetParticipant"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CallParticipant getParticipant(CommunicationIdentifier targetParticipant)"
desc: "Get a specific participant."
returns:
description: "The desired call participant."
type: "<xref href=\"com.azure.communication.callautomation.models.CallParticipant?alt=com.azure.communication.callautomation.models.CallParticipant&text=CallParticipant\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.getParticipantWithResponse(com.azure.communication.common.CommunicationIdentifier,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.getParticipantWithResponse(CommunicationIdentifier targetParticipant, Context context)"
name: "getParticipantWithResponse(CommunicationIdentifier targetParticipant, Context context)"
nameWithType: "CallConnection.getParticipantWithResponse(CommunicationIdentifier targetParticipant, Context context)"
summary: "Get all participants."
parameters:
- description: "The participant to retrieve."
name: "targetParticipant"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<CallParticipant> getParticipantWithResponse(CommunicationIdentifier targetParticipant, Context context)"
desc: "Get all participants."
returns:
description: "Response with the desired call participant."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.CallParticipant?alt=com.azure.communication.callautomation.models.CallParticipant&text=CallParticipant\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.hangUp(boolean)"
fullName: "com.azure.communication.callautomation.CallConnection.hangUp(boolean isForEveryone)"
name: "hangUp(boolean isForEveryone)"
nameWithType: "CallConnection.hangUp(boolean isForEveryone)"
summary: "Hangup a call."
parameters:
- description: "determine if the call is handed up for all participants."
name: "isForEveryone"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void hangUp(boolean isForEveryone)"
desc: "Hangup a call."
- uid: "com.azure.communication.callautomation.CallConnection.hangUpWithResponse(boolean,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.hangUpWithResponse(boolean isForEveryone, Context context)"
name: "hangUpWithResponse(boolean isForEveryone, Context context)"
nameWithType: "CallConnection.hangUpWithResponse(boolean isForEveryone, Context context)"
summary: "Hangup a call."
parameters:
- description: "determine if the call is handed up for all participants."
name: "isForEveryone"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<Void> hangUpWithResponse(boolean isForEveryone, Context context)"
desc: "Hangup a call."
returns:
description: "Response with Void."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.listParticipants()"
fullName: "com.azure.communication.callautomation.CallConnection.listParticipants()"
name: "listParticipants()"
nameWithType: "CallConnection.listParticipants()"
summary: "Get all participants."
syntax: "public PagedIterable<CallParticipant> listParticipants()"
desc: "Get all participants."
returns:
description: "A list of all participants in the call."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.CallParticipant?alt=com.azure.communication.callautomation.models.CallParticipant&text=CallParticipant\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.listParticipants(com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.listParticipants(Context context)"
name: "listParticipants(Context context)"
nameWithType: "CallConnection.listParticipants(Context context)"
summary: "Get all participants."
parameters:
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PagedIterable<CallParticipant> listParticipants(Context context)"
desc: "Get all participants."
returns:
description: "Response with a list of all participants in the call."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.CallParticipant?alt=com.azure.communication.callautomation.models.CallParticipant&text=CallParticipant\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.muteParticipant(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.callautomation.CallConnection.muteParticipant(CommunicationIdentifier targetParticipant)"
name: "muteParticipant(CommunicationIdentifier targetParticipant)"
nameWithType: "CallConnection.muteParticipant(CommunicationIdentifier targetParticipant)"
summary: "Mutes a participant in the call."
parameters:
- description: "- Participant to be muted. Only ACS Users are currently supported."
name: "targetParticipant"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MuteParticipantResult muteParticipant(CommunicationIdentifier targetParticipant)"
desc: "Mutes a participant in the call."
returns:
description: "A MuteParticipantResult object."
type: "<xref href=\"com.azure.communication.callautomation.models.MuteParticipantResult?alt=com.azure.communication.callautomation.models.MuteParticipantResult&text=MuteParticipantResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.muteParticipantWithResponse(com.azure.communication.callautomation.models.MuteParticipantOptions,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.muteParticipantWithResponse(MuteParticipantOptions options, Context context)"
name: "muteParticipantWithResponse(MuteParticipantOptions options, Context context)"
nameWithType: "CallConnection.muteParticipantWithResponse(MuteParticipantOptions options, Context context)"
summary: "Mutes a participant in the call."
parameters:
- description: "- MuteParticipantOptions configuration options."
name: "options"
type: "<xref href=\"com.azure.communication.callautomation.models.MuteParticipantOptions?alt=com.azure.communication.callautomation.models.MuteParticipantOptions&text=MuteParticipantOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "Context"
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<MuteParticipantResult> muteParticipantWithResponse(MuteParticipantOptions options, Context context)"
desc: "Mutes a participant in the call."
returns:
description: "Response with result of muting a participant from the call."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.MuteParticipantResult?alt=com.azure.communication.callautomation.models.MuteParticipantResult&text=MuteParticipantResult\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.removeParticipant(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.callautomation.CallConnection.removeParticipant(CommunicationIdentifier participantToRemove)"
name: "removeParticipant(CommunicationIdentifier participantToRemove)"
nameWithType: "CallConnection.removeParticipant(CommunicationIdentifier participantToRemove)"
summary: "Remove a participant from the call."
parameters:
- description: "participant to be removed."
name: "participantToRemove"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RemoveParticipantResult removeParticipant(CommunicationIdentifier participantToRemove)"
desc: "Remove a participant from the call."
returns:
description: "Result of removing a participant from the call"
type: "<xref href=\"com.azure.communication.callautomation.models.RemoveParticipantResult?alt=com.azure.communication.callautomation.models.RemoveParticipantResult&text=RemoveParticipantResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.removeParticipantWithResponse(com.azure.communication.callautomation.models.RemoveParticipantOptions,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.removeParticipantWithResponse(RemoveParticipantOptions removeParticipantOptions, Context context)"
name: "removeParticipantWithResponse(RemoveParticipantOptions removeParticipantOptions, Context context)"
nameWithType: "CallConnection.removeParticipantWithResponse(RemoveParticipantOptions removeParticipantOptions, Context context)"
summary: "Remove a participant from the call."
parameters:
- description: "The options for removing participant."
name: "removeParticipantOptions"
type: "<xref href=\"com.azure.communication.callautomation.models.RemoveParticipantOptions?alt=com.azure.communication.callautomation.models.RemoveParticipantOptions&text=RemoveParticipantOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<RemoveParticipantResult> removeParticipantWithResponse(RemoveParticipantOptions removeParticipantOptions, Context context)"
desc: "Remove a participant from the call."
returns:
description: "Response with result of removing a participant from the call."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.RemoveParticipantResult?alt=com.azure.communication.callautomation.models.RemoveParticipantResult&text=RemoveParticipantResult\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.callautomation.CallConnection.transferCallToParticipant(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.callautomation.CallConnection.transferCallToParticipant(CommunicationIdentifier targetParticipant)"
name: "transferCallToParticipant(CommunicationIdentifier targetParticipant)"
nameWithType: "CallConnection.transferCallToParticipant(CommunicationIdentifier targetParticipant)"
summary: "Transfer the call to a participant."
parameters:
- description: "A <xref uid=\"com.azure.communication.common.CommunicationIdentifier\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CommunicationIdentifier\"></xref> representing the targetParticipant participant of this transfer."
name: "targetParticipant"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TransferCallResult transferCallToParticipant(CommunicationIdentifier targetParticipant)"
desc: "Transfer the call to a participant."
returns:
description: "Result of transferring the call to a designated participant."
type: "<xref href=\"com.azure.communication.callautomation.models.TransferCallResult?alt=com.azure.communication.callautomation.models.TransferCallResult&text=TransferCallResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.callautomation.CallConnection.transferCallToParticipantWithResponse(com.azure.communication.callautomation.models.TransferCallToParticipantOptions,com.azure.core.util.Context)"
fullName: "com.azure.communication.callautomation.CallConnection.transferCallToParticipantWithResponse(TransferCallToParticipantOptions transferCallToParticipantOptions, Context context)"
name: "transferCallToParticipantWithResponse(TransferCallToParticipantOptions transferCallToParticipantOptions, Context context)"
nameWithType: "CallConnection.transferCallToParticipantWithResponse(TransferCallToParticipantOptions transferCallToParticipantOptions, Context context)"
summary: "Transfer the call to a participant."
parameters:
- description: "Options bag for transferToParticipantCall"
name: "transferCallToParticipantOptions"
type: "<xref href=\"com.azure.communication.callautomation.models.TransferCallToParticipantOptions?alt=com.azure.communication.callautomation.models.TransferCallToParticipantOptions&text=TransferCallToParticipantOptions\" data-throw-if-not-resolved=\"False\" />"
- description: "A <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> representing the request context."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<TransferCallResult> transferCallToParticipantWithResponse(TransferCallToParticipantOptions transferCallToParticipantOptions, Context context)"
desc: "Transfer the call to a participant."
returns:
description: "Response with result of transferring the call to a designated participant."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.communication.callautomation.models.TransferCallResult?alt=com.azure.communication.callautomation.models.TransferCallResult&text=TransferCallResult\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "CallConnection for mid-call actions"
metadata: {}
package: "com.azure.communication.callautomation"
artifact: com.azure:azure-communication-callautomation:1.2.4