Class SendDtmfTonesOptions

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

public final class SendDtmfTonesOptions extends Object
The SendDtmfTonesOptions model.
  • Constructor Details

    • SendDtmfTonesOptions

      public SendDtmfTonesOptions(List<DtmfTone> tones, CommunicationIdentifier targetParticipant)
      Constructor to build SendDtmfTonesOptions object
      Parameters:
      tones - List of Tones to be sent.
      targetParticipant - The target communication identifier.
  • Method Details

    • getTones

      public List<DtmfTone> getTones()
      Get the list of Tones to be sent.
      Returns:
      the list of Tones to be sent.
    • getTargetParticipant

      public CommunicationIdentifier getTargetParticipant()
      Get the targetParticipant property.
      Returns:
      the targetParticipant value.
    • getOperationContext

      public String getOperationContext()
      Get the operationContext property.
      Returns:
      the operationContext value.
    • setOperationContext

      public SendDtmfTonesOptions setOperationContext(String operationContext)
      Set the operationContext property.
      Parameters:
      operationContext - the operationContext value to set.
      Returns:
      the PlayOptionsInternal object itself.
    • getOperationCallbackUrl

      public String getOperationCallbackUrl()
      Get the overridden call back URL override for operation.
      Returns:
      the operationCallbackUrl
    • setOperationCallbackUrl

      public SendDtmfTonesOptions setOperationCallbackUrl(String operationCallbackUrl)
      Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
      Parameters:
      operationCallbackUrl - the operationCallbackUrl to set
      Returns:
      the SendDtmfTonesOptions object itself.