interface RemotePlayback {
    onconnect: ((this, ev) => any);
    onconnecting: ((this, ev) => any);
    ondisconnect: ((this, ev) => any);
    state: RemotePlaybackState;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    cancelWatchAvailability(id?): Promise<void>;
    dispatchEvent(event): boolean;
    prompt(): Promise<void>;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    watchAvailability(callback): Promise<number>;
}

Hierarchy

  • EventTarget
    • RemotePlayback

Properties

onconnect: ((this, ev) => any)

Type declaration

onconnecting: ((this, ev) => any)

Type declaration

ondisconnect: ((this, ev) => any)

Type declaration

Methods

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional id: number

    Returns Promise<void>

  • 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

  • Returns Promise<void>

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Returns Promise<number>

Generated using TypeDoc