watchAvailabilityAsync
external fun watchAvailabilityAsync(callback: RemotePlaybackAvailabilityCallback): Promise<JsInt>(source)
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.