RTCDTMFToneChangeEvent event
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Firing an tonechange event uses the RTCDTMFToneChangeEvent
interface to create and dispatch DTMF tones to the given target.
Syntax
Event handler parameters
tone
Type: DOMStringThe tone attribute contains the character for the tone that has just begun playout (see
insertDTMF()
). If the value is the empty string, it indicates that the previous tone has completed playback.
Standards information
RTCDTMFToneChangeEventInit Dictionary
Member | Type | Description |
---|---|---|
tone | DOMString, defaults to "" | The tone parameter is treated as a series of characters. The characters 0 through 9, A through D, #, and * generate the associated DTMF tones. The characters a to d are equivalent to A to D. The character ',' indicates a delay of 2 seconds before processing the next character in the tones parameter. Unrecognized characters are ignored. |