7.4 RTCDTMFToneChangeEvent

The tonechange event uses the RTCDTMFToneChangeEvent interface.

  1. WebIDL[Exposed=Window]
  2. interface RTCDTMFToneChangeEvent : Event {
  3. constructor(DOMString type, optional RTCDTMFToneChangeEventInit eventInitDict = {});
  4. readonly attribute DOMString tone;
  5. };

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.

  1. WebIDL dictionary RTCDTMFToneChangeEventInit : EventInit {
  2. DOMString tone = "";
  3. };

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.