Class ConferenceDtfmOptions.Builder
java.lang.Object
com.sinch.sdk.domains.voice.models.ConferenceDtfmOptions.Builder
- Enclosing class:
ConferenceDtfmOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setMaxDigits
(Integer maxDigits) The maximum number of accepted digits before sending the collected input via a PIE callback.setMode
(DtfmModeType mode) Determines what DTMF mode the participant will use in the call.setTimeoutMills
(Integer timeoutMills) The number of milliseconds that the system will wait between entered digits before triggering the PIE callback
-
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
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
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
-