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

public final class HoldOptions extends Object
Options for the Hold operation.
  • Constructor Details

    • HoldOptions

      public HoldOptions(CommunicationIdentifier targetParticipant)
      Create a new HoldOptions object.
      Parameters:
      targetParticipant - Participant to be put on hold.
  • Method Details

    • getTargetParticipant

      public CommunicationIdentifier getTargetParticipant()
      Get Participant to be put on hold.
      Returns:
      participant.
    • getPlaySource

      public PlaySource getPlaySource()
      Get PlaySourceInfo
      Returns:
      the playSourceInfo.
    • setPlaySource

      public HoldOptions setPlaySource(PlaySource playSource)
      Sets the playSource.
      Parameters:
      playSource - playSource
      Returns:
      The HoldOptions object.
    • getOperationContext

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

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

      public String getOperationCallbackUrl()
      Get the operationCallbackUrl.
      Returns:
      operationCallbackUrl.
    • setOperationCallbackUrl

      public HoldOptions setOperationCallbackUrl(String operationCallbackUrl)
      Sets the operationCallbackUrl.
      Parameters:
      operationCallbackUrl - operationCallbackUrl
      Returns:
      The HoldOptions object.