Class RedirectCallOptions

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

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

    • RedirectCallOptions

      public RedirectCallOptions(String incomingCallContext, com.azure.communication.common.CommunicationIdentifier target)
      Constructor
      Parameters:
      incomingCallContext - The incoming call context.
      target - The target of being redirected to.
  • Method Details

    • getIncomingCallContext

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

      public com.azure.communication.common.CommunicationIdentifier getTarget()
      Get the target
      Returns:
      the target
    • getRepeatabilityHeaders

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

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