watchAvailability method

Future<int> watchAvailability(
  1. RemotePlaybackAvailabilityCallback callback
)

Implementation

Future<int> watchAvailability(RemotePlaybackAvailabilityCallback callback) =>
    js_util.promiseToFuture(js_util
        .callMethod(this, 'watchAvailability', [allowInterop(callback)]));