interface RemotePlayback
implements EventTarget
import { type RemotePlayback } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Properties
onconnect: ((this: RemotePlayback, ev: Event) => any) | null
onconnecting: ((this: RemotePlayback, ev: Event) => any) | null
ondisconnect: ((this: RemotePlayback, ev: Event) => any) | null
readonly
state: RemotePlaybackStateMethods
watchAvailability(callback: RemotePlaybackAvailabilityCallback): Promise<number>
addEventListener<K extends keyof RemotePlaybackEventMap>(): void
type: K,
listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof RemotePlaybackEventMap>(): void
type: K,
listener: (this: RemotePlayback, ev: RemotePlaybackEventMap[K]) => any,
options?: boolean | EventListenerOptions,