watchAvailability 方法
- RemotePlaybackAvailabilityCallback callback
实现
Future<int> watchAvailability(RemotePlaybackAvailabilityCallback callback) =>
promiseToFuture<int>(JS("", "#.watchAvailability(#)", this, callback));
Future<int> watchAvailability(RemotePlaybackAvailabilityCallback callback) =>
promiseToFuture<int>(JS("", "#.watchAvailability(#)", this, callback));