Class CreateCallOptions

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

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

    • CreateCallOptions

      public CreateCallOptions(CallInvite callInvite, String callbackUrl)
      Constructor
      Parameters:
      callInvite - Call invitee information.
      callbackUrl - The call back URI.
  • Method Details

    • getOperationContext

      public String getOperationContext()
      Get the operationContext: A customer set value used to track the answering of a call.
      Returns:
      the operationContext value.
    • setOperationContext

      public CreateCallOptions setOperationContext(String operationContext)
      Set the operationContext: A customer set value used to track the answering of a call.
      Parameters:
      operationContext - A customer set value used to track the answering of a call.
      Returns:
      the CreateCallOptions object itself.
    • getCallInvite

      public CallInvite getCallInvite()
      Get Call invitee information
      Returns:
      call invitee information
    • getCallbackUrl

      public String getCallbackUrl()
      Get the call back uri.
      Returns:
      the call back uri.
    • getCallIntelligenceOptions

      public CallIntelligenceOptions getCallIntelligenceOptions()
      Get the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint
      Returns:
      the callIntelligenceOptions value.
    • setCallIntelligenceOptions

      public CreateCallOptions setCallIntelligenceOptions(CallIntelligenceOptions callIntelligenceOptions)
      Set the CallIntelligenceOptions property: AI options for the call such as cognitiveServicesEndpoint
      Parameters:
      callIntelligenceOptions - the cognitiveServicesEndpoint value to set.
      Returns:
      the CreateCallOptions object itself.