Class DtmfResult

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.DtmfResult
All Implemented Interfaces:
Jsonable

public class DtmfResult extends JsonableBaseObject
Represents the DTMF event results in EventWebhook.getDtmf().
  • Constructor Details

  • Method Details

    • getDigits

      public String getDigits()
      The button sequence pressed by the user.
      Returns:
      The buttons pressed as a String.
    • isTimedOut

      public boolean isTimedOut()
      Whether the DTMF input timed out.
      Returns:
      true if the DTMF timed out, false otherwise.