Revision 35ef11d0f60dae103603ee92fd71a98bc3e12e7c authored by Luke Bjerring on 23 March 2018, 19:14:21 UTC, committed by Luke Bjerring on 23 March 2018, 19:58:00 UTC
1 parent 4578f69
remoteplayback.idl
[Exposed=Window]
interface RemotePlayback : EventTarget {
Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
Promise<void> cancelWatchAvailability(optional long id);
readonly attribute RemotePlaybackState state;
attribute EventHandler onconnecting;
attribute EventHandler onconnect;
attribute EventHandler ondisconnect;
Promise<void> prompt();
};
enum RemotePlaybackState {
"connecting",
"connected",
"disconnected"
};
callback RemotePlaybackAvailabilityCallback = void (boolean available);
partial interface HTMLMediaElement {
[SameObject]
readonly attribute RemotePlayback remote;
[CEReactions]
attribute boolean disableRemotePlayback;
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...