Class RTCDTMFToneChangeEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The RTCDTMFToneChangeEvent interface represents events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event.
[Value("RTCDTMFToneChangeEvent")]
public class RTCDTMFToneChangeEvent : Event
- Inheritance
-
RTCDTMFToneChangeEvent
- Inherited Members
Remarks
-WebRTC
-Its usual target: RTCDTMFSender.
Constructors
RTCDTMFToneChangeEvent()
public RTCDTMFToneChangeEvent()
RTCDTMFToneChangeEvent(string, RTCDTMFToneChangeEventInit)
The RTCDTMFToneChangeEvent() constructor creates a new
RTCDTMFToneChangeEvent object.
public RTCDTMFToneChangeEvent(string type, RTCDTMFToneChangeEventInit eventInitDict = null)
Parameters
typestringeventInitDictRTCDTMFToneChangeEventInit
Remarks
-WebRTC
-Using DTMF with WebRTC
-Its usual target: RTCDTMFSender.
Properties
Tone
The read-only property RTCDTMFToneChangeEvent.tone
returns the DTMF character which has just begun to play, or an empty string
(""). if all queued tones have finished playing (that is,
ToneBuffer is empty).
[Value("tone")]
public string Tone { get; }
Property Value
- string
A string with the DTML character playing, or the empty string.
Remarks
-WebRTC
-Using DTMF with WebRTC
-RTCDTMFSendertonechange
-RTCDTMFToneChangeEvent