Interface RemotePlayback

interface RemotePlayback {
    $destroyListeners?: any[];
    onconnect: Object;
    onconnecting: Object;
    ondisconnect: Object;
    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

Properties

$destroyListeners?: any[]
onconnect: Object
onconnecting: Object
ondisconnect: Object

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.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void