7.4 RTCDTMFToneChangeEvent
The tonechange
event uses the RTCDTMFToneChangeEvent
interface.
- WebIDL[Exposed=Window]
- interface
RTCDTMFToneChangeEvent
: Event {constructor
(DOMString type, optionalRTCDTMFToneChangeEventInit
eventInitDict = {});- readonly attribute DOMString
tone
;- };
Constructors
RTCDTMFToneChangeEvent.constructor()
Attributes
tone
of type DOMString, readonly
The tone
attribute contains the character for the tone (including ","
) that has just begun playout (see insertDTMF
). If the value is the empty string, it indicates that the [[ToneBuffer]] slot is an empty string and that the previous tones have completed playback.
- WebIDL dictionary
RTCDTMFToneChangeEventInit
: EventInit {- DOMString
tone
= "";- };
Dictionary RTCDTMFToneChangeEventInit
Members
tone
of type DOMString, defaulting to ""
The tone
attribute contains the character for the tone (including ","
) that has just begun playout (see insertDTMF
). If the value is the empty string, it indicates that the [[ToneBuffer]] slot is an empty string and that the previous tones have completed playback.