Class AnswerCallOptions

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

public 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 URI.
  • Method Details

    • getIncomingCallContext

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

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

      public RepeatabilityHeaders getRepeatabilityHeaders()
      Get the Repeatability headers configuration.
      Returns:
      the repeatabilityHeaders
    • setRepeatabilityHeaders

      public AnswerCallOptions setRepeatabilityHeaders(RepeatabilityHeaders repeatabilityHeaders)
      Set the repeatability headers
      Parameters:
      repeatabilityHeaders - The repeatability headers configuration.
      Returns:
      the AnswerCallOptions object itself.