草案
此页面不完整。

ontonechange 特性为 RTCDTMFSender interface is used to set the event handler for the tonechange event, which is sent to the RTCDTMFSender each time a tone begins or ends. The event handler receives as input a single parameter of type RTCDTMFToneChangeEvent , which describes the change.

句法

RTCDTMFSender.ontonechange = toneChangeHandlerFunction;
					

A function which is called when a tonechange event is sent to the RTCDTMFSender , indicating that a DTMF tone has either started playing, or if all tones have finished playing.

范例

tbd

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'ontonechange' in that specification.
候选推荐

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
ontonechange Chrome 27 Edge ≤79 Firefox 52 IE 不支持 No Opera Yes Safari ? WebView Android Yes Chrome Android 27 Firefox Android 52 Opera Android Yes Safari iOS ? Samsung Internet Android 1.5

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

另请参阅

元数据

  • 最后修改: