CallConnectionAsync Class
- java.
lang. Object - com.
azure. communication. callautomation. CallConnectionAsync
- com.
public final class CallConnectionAsync
CallConnectionAsync for mid-call actions
Method Summary
Methods inherited from java.lang.Object
Method Details
addParticipant
public Mono<AddParticipantResult> addParticipant(CallInvite participant)
Add a participant to the call.
Parameters:
Returns:
addParticipantWithResponse
public Mono<Response<AddParticipantResult>> addParticipantWithResponse(AddParticipantOptions addParticipantOptions)
Add a participant to the call.
Parameters:
Returns:
cancelAddParticipantOperation
public Mono<CancelAddParticipantOperationResult> cancelAddParticipantOperation(String invitationId)
Cancel add participant operation request.
Parameters:
Returns:
cancelAddParticipantOperationWithResponse
public Mono<Response<CancelAddParticipantOperationResult>> cancelAddParticipantOperationWithResponse(CancelAddParticipantOperationOptions cancelAddParticipantOperationOptions)
Cancel add participant operation request.
Parameters:
Returns:
getCallMediaAsync
public CallMediaAsync getCallMediaAsync()
Returns an object of CallContentAsync
Returns:
getCallProperties
public Mono<CallConnectionProperties> getCallProperties()
Get call connection properties.
Returns:
getCallPropertiesWithResponse
public Mono<Response<CallConnectionProperties>> getCallPropertiesWithResponse()
Get call connection properties.
Returns:
getParticipant
public Mono<CallParticipant> getParticipant(CommunicationIdentifier targetParticipant)
Get a specific participant.
Parameters:
Returns:
getParticipantWithResponse
public Mono<Response<CallParticipant>> getParticipantWithResponse(CommunicationIdentifier targetParticipant)
Get a specific participant.
Parameters:
Returns:
hangUp
public Mono<Void> hangUp(boolean isForEveryone)
Hangup a call.
Parameters:
Returns:
hangUpWithResponse
public Mono<Response<Void>> hangUpWithResponse(boolean isForEveryone)
Hangup a call.
Parameters:
Returns:
listParticipants
public PagedFlux<CallParticipant> listParticipants()
Get all participants.
Returns:
muteParticipant
public Mono<MuteParticipantResult> muteParticipant(CommunicationIdentifier targetParticipant)
Mutes a participant in the call.
Parameters:
- Participant to be muted. Only ACS Users are currently supported.
Returns:
muteParticipantWithResponse
public Mono<Response<MuteParticipantResult>> muteParticipantWithResponse(MuteParticipantOptions options)
Mutes a participant in the call.
Parameters:
- Options for the request.
Returns:
removeParticipant
public Mono<RemoveParticipantResult> removeParticipant(CommunicationIdentifier participantToRemove)
Remove a participant from the call.
Parameters:
Returns:
removeParticipantWithResponse
public Mono<Response<RemoveParticipantResult>> removeParticipantWithResponse(RemoveParticipantOptions removeParticipantOptions)
Remove a participant from the call.
Parameters:
Returns:
transferCallToParticipant
public Mono<TransferCallResult> transferCallToParticipant(CommunicationIdentifier targetParticipant)
Transfer the call to a participant.
Parameters:
Returns:
transferCallToParticipantWithResponse
public Mono<Response<TransferCallResult>> transferCallToParticipantWithResponse(TransferCallToParticipantOptions transferCallToParticipantOptions)
Transfer the call to a participant.
Parameters:
Returns: