Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventTarget
    • RemotePlayback

Index

Properties

onconnect: null | ((this: internal.RemotePlayback, ev: Event) => any)
onconnecting: null | ((this: internal.RemotePlayback, ev: Event) => any)
ondisconnect: null | ((this: internal.RemotePlayback, ev: Event) => any)

Methods

  • addEventListener<K>(type: K, listener: ((this: internal.RemotePlayback, ev: RemotePlaybackEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • cancelWatchAvailability(id?: number): Promise<void>
  • Parameters

    • Optional id: number

    Returns Promise<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

  • prompt(): Promise<void>
  • Returns Promise<void>

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

Generated using TypeDoc