Package com.vonage.client.voice
Class DtmfResult
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.DtmfResult
- All Implemented Interfaces:
Jsonable
Represents the DTMF event results in
EventWebhook.getDtmf().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe button sequence pressed by the user.booleanWhether the DTMF input timed out.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
DtmfResult
public DtmfResult()
-
-
Method Details
-
getDigits
The button sequence pressed by the user.- Returns:
- The buttons pressed as a String.
-
isTimedOut
Whether the DTMF input timed out.- Returns:
trueif the DTMF timed out,falseotherwise.
-