Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventTarget
    • RTCDTMFSender

Index

Properties

canInsertDTMF: boolean
ontonechange: null | ((this: internal.RTCDTMFSender, ev: internal.RTCDTMFToneChangeEvent) => any)
toneBuffer: string

Methods

  • addEventListener<K>(type: K, listener: ((this: internal.RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • Type Parameters

    • K extends "tonechange"

    Parameters

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • insertDTMF(tones: string, duration?: number, interToneGap?: number): void
  • Parameters

    • tones: string
    • Optional duration: number
    • Optional interToneGap: number

    Returns void

  • removeEventListener<K>(type: K, listener: ((this: internal.RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any), options?: boolean | EventListenerOptions): void
  • removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void
  • Type Parameters

    • K extends "tonechange"

    Parameters

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns void

Generated using TypeDoc