Class ContinuousDtmfRecognitionToneReceived

java.lang.Object
com.azure.communication.callautomation.models.events.CallAutomationEventBase
com.azure.communication.callautomation.models.events.ContinuousDtmfRecognitionToneReceived
All Implemented Interfaces:
com.azure.json.JsonSerializable<CallAutomationEventBase>

public final class ContinuousDtmfRecognitionToneReceived extends CallAutomationEventBase
The ContinuousDtmfRecognitionToneReceived model.
  • Method Details

    • getSequenceId

      public int getSequenceId()
      Get sequenceId: The sequence id which 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 DtmfTone getTone()
      Get the tone property:
      Returns:
      the tone value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Throws:
      IOException
    • fromJson

      public static ContinuousDtmfRecognitionToneReceived fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ContinuousDtmfRecognitionToneReceived from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ContinuousDtmfRecognitionToneReceived if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ContinuousDtmfRecognitionToneReceived.