AnswerCallOptions Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.AnswerCallOptions

public final class AnswerCallOptions

The options for creating a call.

Constructor Summary

Constructor Description
AnswerCallOptions(String incomingCallContext, String callbackUrl)

Constructor

Method Summary

Modifier and Type Method and Description
String getCallbackUrl()

Get the call back url.

CallIntelligenceOptions getCallIntelligenceOptions()

Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint

String getIncomingCallContext()

Get the incomingCallContext.

MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

String getOperationContext()

Get the operationContext.

TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

AnswerCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint

AnswerCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

AnswerCallOptions setOperationContext(String operationContext)

Set the operationContext.

AnswerCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Methods inherited from java.lang.Object

Constructor Details

AnswerCallOptions

public AnswerCallOptions(String incomingCallContext, String callbackUrl)

Constructor

Parameters:

incomingCallContext - The incoming call context.
callbackUrl - The call back URl.

Method Details

getCallbackUrl

public String getCallbackUrl()

Get the call back url.

Returns:

the call back url.

getCallIntelligenceOptions

public CallIntelligenceOptions getCallIntelligenceOptions()

Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint

Returns:

the callIntelligenceOptions value.

getIncomingCallContext

public String getIncomingCallContext()

Get the incomingCallContext.

Returns:

the incomingCallContext.

getMediaStreamingOptions

public MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

Returns:

the mediaStreamingOptions.

getOperationContext

public String getOperationContext()

Get the operationContext.

Returns:

the operationContext

getTranscriptionOptions

public TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

Returns:

the transcriptionOptions.

setCallIntelligenceOptions

public AnswerCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint

Parameters:

callIntelligenceOptions - the cognitiveServicesEndpoint value to set.

Returns:

the AnswerCallOptions object itself.

setMediaStreamingOptions

public AnswerCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

Parameters:

mediaStreamingOptions - The media streaming options.

Returns:

the AnswerCallOptions object itself.

setOperationContext

public AnswerCallOptions setOperationContext(String operationContext)

Set the operationContext.

Parameters:

operationContext - the operationContext to set

Returns:

the AnswerCallOptions object itself.

setTranscriptionOptions

public AnswerCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Parameters:

transcriptionOptions - The transcription options.

Returns:

the AnswerCallOptions object itself.

Applies to