RemotePlayback class

The interface of the Remote Playback API allows the page to detect availability of remote playback devices, then connect to and control playing on these devices.

EventTarget

RemotePlayback

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

RemotePlayback()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onconnect EventHandlerNonNull<Event>?

Available on RemotePlayback, provided by the PropsRemotePlayback extension

getter/setter pair
onconnecting EventHandlerNonNull<Event>?

Available on RemotePlayback, provided by the PropsRemotePlayback extension

getter/setter pair
ondisconnect EventHandlerNonNull<Event>?

Available on RemotePlayback, provided by the PropsRemotePlayback extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state RemotePlaybackState

Available on RemotePlayback, provided by the PropsRemotePlayback extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

cancelWatchAvailability([int? id]) Future<void>

Available on RemotePlayback, provided by the PropsRemotePlayback extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prompt() Future<void>

Available on RemotePlayback, provided by the PropsRemotePlayback extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() String
A string representation of this object.
inherited
watchAvailability(RemotePlaybackAvailabilityCallback callback) Future<int>

Available on RemotePlayback, provided by the PropsRemotePlayback extension

Operators

operator ==(Object other) bool
The equality operator.
inherited