Class ConnectCallOptions
java.lang.Object
com.azure.communication.callautomation.models.ConnectCallOptions
The options for creating a call.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectCallOptions(CallLocator callLocator, String callbackUrl) Creates a new instance of ConnectCallOptions -
Method Summary
Modifier and TypeMethodDescriptionGet the call back url.Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpointGet the call locator.Get the operation context.setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions) Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpointsetOperationContext(String operationContext) Sets the operation context.
-
Constructor Details
-
ConnectCallOptions
Creates a new instance of ConnectCallOptions- Parameters:
callLocator- - The CallLocatorcallbackUrl- - The CallbackUrl
-
-
Method Details
-
getCallbackUrl
Get the call back url.- Returns:
- the call back url.
-
getCallLocator
Get the call locator.- Returns:
- the call locator.
-
getOperationContext
Get the operation context.- Returns:
- operation context.
-
getCallIntelligenceOptions
Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint- Returns:
- the callIntelligenceOptions value.
-
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.
-
setOperationContext
Sets the operation context.- Parameters:
operationContext- Operation Context- Returns:
- The ConnectCallOptions object.
-