Files
tubestation/testing/web-platform/tests/interfaces/remote-playback.idl
autofoolip acb5afee80 Bug 1669636 [wpt PR 26021] - Update interfaces/remote-playback.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/remote-playback.idl (#26021)

Source: https://github.com/w3c/webref/blob/0ccafec/ed/idl/remote-playback.idl
Build: https://travis-ci.org/w3c/webref/builds/733568810
--

wpt-commits: 51b194c0af04f2653e1ecfd2acf9ae5ec1c1ab0a
wpt-pr: 26021
2020-10-09 12:43:14 +00:00

33 lines
916 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Remote Playback API (https://w3c.github.io/remote-playback/)
[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();
};
enum RemotePlaybackState {
"connecting",
"connected",
"disconnected"
};
callback RemotePlaybackAvailabilityCallback = undefined(boolean available);
partial interface HTMLMediaElement {
[SameObject] readonly attribute RemotePlayback remote;
[CEReactions] attribute boolean disableRemotePlayback;
};