### YamlMime:JavaType uid: "com.azure.communication.callautomation.CallConnection" fullName: "com.azure.communication.callautomation.CallConnection" name: "CallConnection" nameWithType: "CallConnection" summary: "CallConnection for mid-call actions" inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" 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: "" syntax: "public AddParticipantResult addParticipant(CallInvite participant)" desc: "Add a participant to the call." returns: description: "Result of adding a participant." type: "" - 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response addParticipantWithResponse(AddParticipantOptions addParticipantOptions, Context context)" desc: "Add a participant to the call." returns: description: "Response with result of adding a participant." type: "<>" - 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: "String" syntax: "public CancelAddParticipantOperationResult cancelAddParticipantOperation(String invitationId)" desc: "Cancel add participant operation request." returns: description: "Result of cancelling add participant request." type: "" - 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions, Context context)" desc: "Cancel add participant operation request." returns: description: "Response with result of cancelling add participant request." type: "<>" - uid: "com.azure.communication.callautomation.CallConnection.getCallMedia()" fullName: "com.azure.communication.callautomation.CallConnection.getCallMedia()" name: "getCallMedia()" nameWithType: "CallConnection.getCallMedia()" summary: "Returns an object of CallContent" syntax: "public CallMedia getCallMedia()" desc: "Returns an object of CallContent" returns: description: "a CallMediaAsync." type: "" - 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: "" - 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 representing the request context." name: "context" type: "" syntax: "public Response getCallPropertiesWithResponse(Context context)" desc: "Get call connection properties." returns: description: "Response payload for a successful get call connection request." type: "<>" - 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: "" syntax: "public CallParticipant getParticipant(CommunicationIdentifier targetParticipant)" desc: "Get a specific participant." returns: description: "The desired call participant." type: "" - 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response getParticipantWithResponse(CommunicationIdentifier targetParticipant, Context context)" desc: "Get all participants." returns: description: "Response with the desired call participant." type: "<>" - 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: "" 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response hangUpWithResponse(boolean isForEveryone, Context context)" desc: "Hangup a call." returns: description: "Response with Void." type: "<Void>" - 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 listParticipants()" desc: "Get all participants." returns: description: "A list of all participants in the call." type: "<>" - 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 representing the request context." name: "context" type: "" syntax: "public PagedIterable listParticipants(Context context)" desc: "Get all participants." returns: description: "Response with a list of all participants in the call." type: "<>" - 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: "" syntax: "public MuteParticipantResult muteParticipant(CommunicationIdentifier targetParticipant)" desc: "Mutes a participant in the call." returns: description: "A MuteParticipantResult object." type: "" - 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: "" - description: "Context" name: "context" type: "" syntax: "public Response 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: "<>" - 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: "" syntax: "public RemoveParticipantResult removeParticipant(CommunicationIdentifier participantToRemove)" desc: "Remove a participant from the call." returns: description: "Result of removing a participant from the call" type: "" - 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response 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: "<>" - 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 representing the targetParticipant participant of this transfer." name: "targetParticipant" type: "" 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: "" - 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: "" - description: "A representing the request context." name: "context" type: "" syntax: "public Response 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: "<>" type: "class" desc: "CallConnection for mid-call actions" metadata: {} package: "com.azure.communication.callautomation" artifact: com.azure:azure-communication-callautomation:1.2.6