getAllowContentAccess method

Future<bool> getAllowContentAccess()

Gets whether Service Workers support content URL access. This method should only be called if WebViewFeature.isFeatureSupported returns true for WebViewFeature.SERVICE_WORKER_CONTENT_ACCESS.

NOTE: available on Android 24+.

Official Android API: https://developer.android.com/reference/androidx/webkit/ServiceWorkerWebSettingsCompat#getAllowContentAccess()

Implementation

Future<bool> getAllowContentAccess() {
  throw UnimplementedError(
      'getAllowContentAccess is not implemented on the current platform');
}