dtmfOn

open fun dtmfOn(codeInAscii: Byte, appendDigit: Boolean)

Start generating DTMF tone for a digit.

Starts generating a DTMF tone, using the method described in account XML. The tone is generated until dtmfOff is called.

In case no call is active, the method generates only a local beep.

To stop the DTMF sound, use dtmfOff. If appendDigit is true, the digit is appended to the call's DTMF buffer returned by getDtmfDigits. If there is no call, appendDigit is ignored and the digit is not stored.

Parameters

codeInAscii

DTMF code in ASCII.

appendDigit

Append the digit for getDtmfDigits.


open fun dtmfOn(code: Char, appendDigit: Boolean)

Start generating DTMF tone for a digit.

Starts generating a DTMF tone, using the method described in account XML. The tone is generated until dtmfOff is called.

In case no call is active, the method generates only a local beep.

To stop the DTMF sound, use dtmfOff. If appendDigit is true, the digit is appended to the call's DTMF buffer returned by getDtmfDigits. If there is no call, appendDigit is ignored and the digit is not stored.

Parameters

code

DTMF code in ASCII.

appendDigit

Append the digit for getDtmfDigits.


open fun dtmfOn(codeInAscii: Byte)

Start generating DTMF tone for a digit.

Starts generating a DTMF tone, using the method described in account XML. The tone is generated until dtmfOff is called.

In case no call is active, the method generates only a local beep.

To stop the DTMF sound, use dtmfOff. The digit is appended to the call's DTMF buffer returned by getDtmfDigits. If there is no call, the digit is not stored.

Parameters

codeInAscii

DTMF code in ASCII.


open fun dtmfOn(code: Char)

Start generating DTMF tone for a digit.

Starts generating a DTMF tone, using the method described in account XML. The tone is generated until dtmfOff is called.

In case no call is active, the method generates only a local beep.

To stop the DTMF sound, use dtmfOff. The digit is appended to the call's DTMF buffer returned by getDtmfDigits. If there is no call, the digit is not stored.

Parameters

code

DTMF code.