通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectCallOptions Class

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

public final class ConnectCallOptions

The options for creating a call.

Constructor Summary

Constructor Description
ConnectCallOptions(CallLocator callLocator, String callbackUrl)

Creates a new instance of ConnectCallOptions

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

CallLocator getCallLocator()

Get the call locator.

MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

String getOperationContext()

Get the operation context.

TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

ConnectCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

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

ConnectCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

ConnectCallOptions setOperationContext(String operationContext)

Sets the operation context.

ConnectCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Methods inherited from java.lang.Object

Constructor Details

ConnectCallOptions

public ConnectCallOptions(CallLocator callLocator, String callbackUrl)

Creates a new instance of ConnectCallOptions

Parameters:

callLocator -
  • The CallLocator
callbackUrl -
  • The CallbackUrl

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.

getCallLocator

public CallLocator getCallLocator()

Get the call locator.

Returns:

the call locator.

getMediaStreamingOptions

public MediaStreamingOptions getMediaStreamingOptions()

Get the Media Streaming configuration.

Returns:

the mediaStreamingOptions.

getOperationContext

public String getOperationContext()

Get the operation context.

Returns:

operation context.

getTranscriptionOptions

public TranscriptionOptions getTranscriptionOptions()

Get the Transcription configuration.

Returns:

the transcriptionOptions

setCallIntelligenceOptions

public ConnectCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)

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

Parameters:

callIntelligenceOptions - the cognitiveServicesEndpoint value to set.

Returns:

the ConnectCallOptions object itself.

setMediaStreamingOptions

public ConnectCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStreamingOptions)

Set the media streaming configuration.

Parameters:

mediaStreamingOptions - The media streaming options.

Returns:

the ConnectCallOptions object itself.

setOperationContext

public ConnectCallOptions setOperationContext(String operationContext)

Sets the operation context.

Parameters:

operationContext - Operation Context

Returns:

The ConnectCallOptions object.

setTranscriptionOptions

public ConnectCallOptions setTranscriptionOptions(TranscriptionOptions transcriptionOptions)

Set the transcription configuration.

Parameters:

transcriptionOptions - The transcription options.

Returns:

the ConnectCallOptions object itself.

Applies to