Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>RTCDtmfSender

💧EventEmitter's typesafe replacement
Go to Latest
interface RTCDtmfSender
implements EventTarget
import { type RTCDtmfSender } from "https://deno.land/x/evt@v2.5.6/lib/types/lib.dom.ts";

Properties

readonly
canInsertDTMF: boolean
readonly
duration: number
readonly
interToneGap: number
ontonechange: ((this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any) | null
readonly
sender: RTCRtpSender
readonly
toneBuffer: string

Methods

insertDTMF(
tones: string,
duration?: number,
interToneGap?: number,
): void
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
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