Class ConferenceDtfmOptions.Builder

java.lang.Object
com.sinch.sdk.domains.voice.models.ConferenceDtfmOptions.Builder
Enclosing class:
ConferenceDtfmOptions

public static class ConferenceDtfmOptions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setMode

      Determines what DTMF mode the participant will use in the call.
      Parameters:
      mode - DTFM mode
      Returns:
      current builder
    • setMaxDigits

      public ConferenceDtfmOptions.Builder setMaxDigits(Integer maxDigits)
      The maximum number of accepted digits before sending the collected input via a PIE callback. The default value is 1. If the value is greater than 1, the PIE callback is triggered by one of the three following events:

      - No additional digit is entered before the timeoutMills timeout period has elapsed. - The # character is entered. - The maximum number of digits has been entered.

      Parameters:
      maxDigits - Max digits
      Returns:
      current builder
    • setTimeoutMills

      public ConferenceDtfmOptions.Builder setTimeoutMills(Integer timeoutMills)
      The number of milliseconds that the system will wait between entered digits before triggering the PIE callback
      Parameters:
      timeoutMills - Timeout in milliseconds
      Returns:
      current builder
    • build

      public ConferenceDtfmOptions build()