Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RTCDTMFSender

interface RTCDTMFSender extends EventTarget {
readonly canInsertDTMF: boolean;
ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;
readonly toneBuffer: string;
addEventListener<K extends keyof RTCDTMFSenderEventMap>(
type: K,
listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
insertDTMF(
tones: string,
duration?: number,
interToneGap?: number,
): void;
removeEventListener<K extends keyof RTCDTMFSenderEventMap>(
type: K,
listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var RTCDTMFSender: {
prototype: RTCDTMFSender;
new (): RTCDTMFSender;
}
;

§Extends

§Properties

§
readonly canInsertDTMF: boolean
[src]
§
ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null
[src]
§
readonly toneBuffer: string
[src]

§Methods

§
addEventListener<K extends keyof RTCDTMFSenderEventMap>(
type: K,
listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
insertDTMF(
tones: string,
duration?: number,
interToneGap?: number,
): void
[src]
§
removeEventListener<K extends keyof RTCDTMFSenderEventMap>(
type: K,
listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]