Class ConnectCallOptions

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

public final class ConnectCallOptions extends Object
The options for creating a call.
  • 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.
    • getCallLocator

      public CallLocator getCallLocator()
      Get the call locator.
      Returns:
      the call locator.
    • getOperationContext

      public String getOperationContext()
      Get the operation context.
      Returns:
      operation context.
    • getCallIntelligenceOptions

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

      public ConnectCallOptions setOperationContext(String operationContext)
      Sets the operation context.
      Parameters:
      operationContext - Operation Context
      Returns:
      The ConnectCallOptions object.