CallMediaAsync Class
- java.
lang. Object - com.
azure. communication. callautomation. CallMediaAsync
- com.
public final class CallMediaAsync
CallContent.
Method Summary
Methods inherited from java.lang.Object
Method Details
cancelAllMediaOperations
public Mono<Void> cancelAllMediaOperations()
Cancels all the queued media operations.
Returns:
cancelAllMediaOperationsWithResponse
public Mono<Response<Void>> cancelAllMediaOperationsWithResponse()
Cancels all the queued media operations
Returns:
hold
public Mono<Void> hold(CommunicationIdentifier targetParticipant)
Holds participant in call.
Parameters:
Returns:
hold
public Mono<Void> hold(CommunicationIdentifier targetParticipant, PlaySource playSource)
Holds participant in call.
Parameters:
Returns:
holdWithResponse
public Mono<Response<Void>> holdWithResponse(HoldOptions options)
Holds participant in call.
Parameters:
- Different options to pass to the request.
Returns:
play
public Mono<Void> play(List<PlaySource> playSources, List<CommunicationIdentifier> playTo)
Play
Parameters:
Returns:
play
public Mono<Void> play(PlaySource playSource, List<CommunicationIdentifier> playTo)
Play
Parameters:
Returns:
playToAll
public Mono<Void> playToAll(List<PlaySource> playSources)
Play to all participants
Parameters:
Returns:
playToAll
public Mono<Void> playToAll(PlaySource playSource)
Play to all participants
Parameters:
Returns:
playToAllWithResponse
public Mono<Response<Void>> playToAllWithResponse(PlayToAllOptions options)
Play to all participants
Parameters:
Returns:
playWithResponse
public Mono<Response<Void>> playWithResponse(PlayOptions options)
Play
Parameters:
Returns:
sendDtmfTones
public Mono<SendDtmfTonesResult> sendDtmfTones(List<DtmfTone> tones, CommunicationIdentifier targetParticipant)
Send DTMF tones
Parameters:
Returns:
sendDtmfTonesWithResponse
public Mono<Response<SendDtmfTonesResult>> sendDtmfTonesWithResponse(SendDtmfTonesOptions options)
Send DTMF tones
Parameters:
Returns:
startContinuousDtmfRecognition
public Mono<Void> startContinuousDtmfRecognition(CommunicationIdentifier targetParticipant)
Starts continuous Dtmf recognition.
Parameters:
Returns:
startContinuousDtmfRecognitionWithResponse
public Mono<Response<Void>> startContinuousDtmfRecognitionWithResponse(ContinuousDtmfRecognitionOptions options)
Starts continuous Dtmf recognition.
Parameters:
Returns:
startMediaStreaming
public Mono<Void> startMediaStreaming()
Starts media streaming in the call.
Returns:
startMediaStreamingWithResponse
public Mono<Response<Void>> startMediaStreamingWithResponse(StartMediaStreamingOptions options)
Starts media streaming in the call with options.
Parameters:
Returns:
startRecognizing
public Mono<Void> startRecognizing(CallMediaRecognizeOptions recognizeOptions)
Recognize operation.
Parameters:
Returns:
startRecognizingWithResponse
public Mono<Response<Void>> startRecognizingWithResponse(CallMediaRecognizeOptions recognizeOptions)
Recognize operation
Parameters:
Returns:
startTranscription
public Mono<Void> startTranscription()
Starts transcription in the call.
Returns:
startTranscriptionWithResponse
public Mono<Response<Void>> startTranscriptionWithResponse(StartTranscriptionOptions options)
Starts transcription in the call with options.
Parameters:
Returns:
stopContinuousDtmfRecognition
public Mono<Void> stopContinuousDtmfRecognition(CommunicationIdentifier targetParticipant)
Stops continuous Dtmf recognition.
Parameters:
Returns:
stopContinuousDtmfRecognitionWithResponse
public Mono<Response<Void>> stopContinuousDtmfRecognitionWithResponse(ContinuousDtmfRecognitionOptions options)
Stops continuous Dtmf recognition.
Parameters:
Returns:
stopMediaStreaming
public Mono<Void> stopMediaStreaming()
Stops media streaming in the call.
Returns:
stopMediaStreamingWithResponse
public Mono<Response<Void>> stopMediaStreamingWithResponse(StopMediaStreamingOptions options)
Stops media streaming in the call with options.
Parameters:
Returns:
stopTranscription
public Mono<Void> stopTranscription()
Stops transcription in the call.
Returns:
stopTranscriptionWithResponse
public Mono<Response<Void>> stopTranscriptionWithResponse(StopTranscriptionOptions options)
Stops transcription in the call with options.
Parameters:
Returns:
unhold
public Mono<Void> unhold(CommunicationIdentifier targetParticipant)
Removes hold from participant in call.
Parameters:
Returns:
unholdWithResponse
public Mono<Response<Void>> unholdWithResponse(UnholdOptions options)
Holds participant in call.
Parameters:
Returns:
updateTranscription
public Mono<Void> updateTranscription(String locale)
API to change transcription language
Parameters:
Returns:
updateTranscriptionWithResponse
public Mono<Response<Void>> updateTranscriptionWithResponse(UpdateTranscriptionOptions options)
API to change transcription language
Parameters:
Returns: