WebIDLpedia

RemotePlayback interface

Definition

Remote Playback API defines RemotePlayback

[Exposed=Window]
interface RemotePlayback : EventTarget {
  Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
  Promise<undefined> cancelWatchAvailability(optional long id);

  readonly attribute RemotePlaybackState state;

  attribute EventHandler onconnecting;
  attribute EventHandler onconnect;
  attribute EventHandler ondisconnect;

  Promise<undefined> prompt();
};

Methods and attributes that return objects implementing RemotePlayback

Referring IDL interfaces/dictionaries