CallAutomationAsyncClient Class
- java.
lang. Object - com.
azure. communication. callautomation. CallAutomationAsyncClient
- com.
public final class CallAutomationAsyncClient
Asynchronous client that supports calling server operations.
Instantiating a asynchronous CallingServer client
View CallAutomationClientBuilder for additional ways to construct the client.
Method Summary
Methods inherited from java.lang.Object
Method Details
answerCall
public Mono<AnswerCallResult> answerCall(String incomingCallContext, String callbackUrl)
Answer an incoming call
Parameters:
Returns:
answerCallWithResponse
public Mono<Response<AnswerCallResult>> answerCallWithResponse(AnswerCallOptions answerCallOptions)
Create a call connection request from a source identity to a target identity.
Parameters:
Returns:
connectCall
public Mono<ConnectCallResult> connectCall(CallLocator callLocator, String callbackUrl)
Create a connect request.
Parameters:
Returns:
connectCallWithResponse
public Mono<Response<ConnectCallResult>> connectCallWithResponse(ConnectCallOptions connectCallOptions)
Create a connect request.
Parameters:
Returns:
createCall
public Mono<CreateCallResult> createCall(CallInvite targetParticipant, String callbackUrl)
Create a call connection request from a source identity to a target identity.
Parameters:
Returns:
createCallWithResponse
public Mono<Response<CreateCallResult>> createCallWithResponse(CreateCallOptions createCallOptions)
Create a call connection request from a source identity to a target identity.
Parameters:
Returns:
createGroupCall
public Mono<CreateCallResult> createGroupCall(List<CommunicationIdentifier> targetParticipants, String callbackUrl)
Create a call connection request from a source identity to a list of target identity.
Parameters:
Returns:
createGroupCallWithResponse
public Mono<Response<CreateCallResult>> createGroupCallWithResponse(CreateGroupCallOptions createGroupCallOptions)
Create a group call connection request from a source identity to multiple identities.
Parameters:
Returns:
getCallConnectionAsync
public CallConnectionAsync getCallConnectionAsync(String callConnectionId)
Returns an object of CallConnectionAsync
Parameters:
Returns:
getCallRecordingAsync
public CallRecordingAsync getCallRecordingAsync()
Returns an object of CallRecordingAsync
Returns:
getSourceIdentity
public CommunicationUserIdentifier getSourceIdentity()
Get Source Identity that is used for create and answer call
Returns:
redirectCall
public Mono<Void> redirectCall(String incomingCallContext, CallInvite targetParticipant)
Redirect a call
Parameters:
Returns:
redirectCallWithResponse
public Mono<Response<Void>> redirectCallWithResponse(RedirectCallOptions redirectCallOptions)
Redirect a call
Parameters:
Returns:
rejectCall
public Mono<Void> rejectCall(String incomingCallContext)
Reject a call
Parameters:
Returns:
rejectCallWithResponse
public Mono<Response<Void>> rejectCallWithResponse(RejectCallOptions rejectCallOptions)
Reject a call
Parameters:
Returns: