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>
The ContinuousDtmfRecognitionToneReceived model.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContinuousDtmfRecognitionToneReceived from the JsonReader.intGet sequenceId: The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.getTone()Get the tone property:com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.communication.callautomation.models.events.CallAutomationEventBase
getCallConnectionId, getCorrelationId, getOperationContext, getResultInformation, getServerCallIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
Get the tone property:- Returns:
- the tone value.
-
toJson
- 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.
-