Class AnswerCallOptions

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

public final class AnswerCallOptions extends Object
The options for creating a call.
  • Constructor Details

    • AnswerCallOptions

      public AnswerCallOptions(String incomingCallContext, String callbackUrl)
      Constructor
      Parameters:
      incomingCallContext - The incoming call context.
      callbackUrl - The call back URl.
  • Method Details

    • getIncomingCallContext

      public String getIncomingCallContext()
      Get the incomingCallContext.
      Returns:
      the incomingCallContext.
    • getCallbackUrl

      public String getCallbackUrl()
      Get the call back url.
      Returns:
      the call back url.
    • getOperationContext

      public String getOperationContext()
      Get the operationContext.
      Returns:
      the operationContext
    • setOperationContext

      public AnswerCallOptions setOperationContext(String operationContext)
      Set the operationContext.
      Parameters:
      operationContext - the operationContext to set
      Returns:
      the AnswerCallOptions object itself.
    • getCallIntelligenceOptions

      public CallIntelligenceOptions 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.