Waits until either a DTMF digit has been detected or the specified time interval has elapsed.
- timeoutSeconds (Int32)
- Timeout period in seconds.
A string that contains detected digit, if any. This method returns a null reference (Nothing in Visual Basic) if no digits were detected within the specified time interval.
This method detects DTMF digits (buttons) pressed by remote party on a touch-tone phone.
WaitForDigit ignores the digits received before your application called this method.
| Exception | Condition |
|---|---|
| TapiDisconnectException | The call has been disconnected while waiting for a digit. |
Assembly: Traysoft.AddTapi (Module: Traysoft.AddTapi)