Class AnswerCallOptions
java.lang.Object
com.azure.communication.callautomation.models.AnswerCallOptions
The options for creating a call.
-
Constructor Summary
ConstructorsConstructorDescriptionAnswerCallOptions(String incomingCallContext, String callbackUrl) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the call back url.Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpointGet the incomingCallContext.Get the operationContext.setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions) Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpointsetOperationContext(String operationContext) Set the operationContext.
-
Constructor Details
-
AnswerCallOptions
Constructor- Parameters:
incomingCallContext- The incoming call context.callbackUrl- The call back URl.
-
-
Method Details
-
getIncomingCallContext
Get the incomingCallContext.- Returns:
- the incomingCallContext.
-
getCallbackUrl
Get the call back url.- Returns:
- the call back url.
-
getOperationContext
Get the operationContext.- Returns:
- the operationContext
-
setOperationContext
Set the operationContext.- Parameters:
operationContext- the operationContext to set- Returns:
- the AnswerCallOptions object itself.
-
getCallIntelligenceOptions
Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint- Returns:
- the callIntelligenceOptions value.
-
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.
-