java.lang.Object
com.azure.communication.callingserver.models.ToneInfo

public final class ToneInfo extends Object
The class to represent Tone info detail.
  • Constructor Details

    • ToneInfo

      public ToneInfo(Integer sequenceId, ToneValue tone)
      Initializes a new instance of ToneInfo.
      Parameters:
      sequenceId - the sequenceId value.
      tone - the tone value.
  • Method Details

    • getSequenceId

      public Integer getSequenceId()
      Get the sequenceId property: Gets the sequence id. This id can be used to determine if the same tone was played multiple times or if any tones were missed.
      Returns:
      the sequenceId value.
    • getTone

      public ToneValue getTone()
      Get the tone property: Gets the tone detected.
      Returns:
      the tone value.