watchAvailability method
The watchAvailability()
method of the RemotePlayback interface
watches the list of available remote playback devices and returns a
Promise
that resolves with the callbackId
of a remote playback device.
Implementation
external JSPromise<JSNumber> watchAvailability(
RemotePlaybackAvailabilityCallback callback);