CreateCallOptions Class

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

public final class CreateCallOptions

The options for creating a p2p call.

Constructor Summary

Constructor Description
CreateCallOptions(CallInvite callInvite, String callbackUrl)

Constructor

Method Summary

Modifier and Type Method and Description
String getCallbackUrl()

Get the call back uri.

CallIntelligenceOptions getCallIntelligenceOptions()

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

CallInvite getCallInvite()

Get Call invitee information

MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

String getOperationContext()

Get the operationContext: A customer set value used to track the answering of a call.

MicrosoftTeamsAppIdentifier getTeamsAppSource()

Get the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID.

TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

CreateCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

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

CreateCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

CreateCallOptions setOperationContext(String operationContext)

Set the operationContext: A customer set value used to track the answering of a call.

CreateCallOptions setTeamsAppSource(MicrosoftTeamsAppIdentifier teamsAppSource)

Set the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID.

CreateCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Methods inherited from java.lang.Object

Constructor Details

CreateCallOptions

public CreateCallOptions(CallInvite callInvite, String callbackUrl)

Constructor

Parameters:

callInvite - Call invitee information.
callbackUrl - The call back URI.

Method Details

getCallbackUrl

public String getCallbackUrl()

Get the call back uri.

Returns:

the call back uri.

getCallIntelligenceOptions

public CallIntelligenceOptions getCallIntelligenceOptions()

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

Returns:

the callIntelligenceOptions value.

getCallInvite

public CallInvite getCallInvite()

Get Call invitee information

Returns:

call invitee information

getMediaStreamingOptions

public MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

Returns:

the mediaStreamingOptions.

getOperationContext

public String getOperationContext()

Get the operationContext: A customer set value used to track the answering of a call.

Returns:

the operationContext value.

getTeamsAppSource

public MicrosoftTeamsAppIdentifier getTeamsAppSource()

Get the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID.

Returns:

the teamsAppSource value.

getTranscriptionOptions

public TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

Returns:

the transcriptionOptions

setCallIntelligenceOptions

public CreateCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

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

Parameters:

callIntelligenceOptions - the cognitiveServicesEndpoint value to set.

Returns:

the CreateCallOptions object itself.

setMediaStreamingOptions

public CreateCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

Parameters:

mediaStreamingOptions - The media streaming options.

Returns:

the CreateCallOptions object itself.

setOperationContext

public CreateCallOptions setOperationContext(String operationContext)

Set the operationContext: A customer set value used to track the answering of a call.

Parameters:

operationContext - A customer set value used to track the answering of a call.

Returns:

the CreateCallOptions object itself.

setTeamsAppSource

public CreateCallOptions setTeamsAppSource(MicrosoftTeamsAppIdentifier teamsAppSource)

Set the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID.

Parameters:

teamsAppSource - the teamsAppSource value to set.

Returns:

the CreateCallOptions object itself.

setTranscriptionOptions

public CreateCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Parameters:

transcriptionOptions - The transcription options.

Returns:

the CreateCallOptions object itself.

Applies to