isMultiProcessEnabled method

  1. @override
Future<bool> isMultiProcessEnabled()

Returns true if WebView is running in multi process mode.

In Android O and above, WebView may run in "multiprocess" mode. In multiprocess mode, rendering of web content is performed by a sandboxed renderer process separate to the application process. This renderer process may be shared with other WebViews in the application, but is not shared with other application processes.

NOTE for Android native WebView: This method should only be called if WebViewFeature.isFeatureSupported returns true for WebViewFeature.MULTI_PROCESS.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<bool> isMultiProcessEnabled() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _staticChannel.invokeMethod<bool>(
          'isMultiProcessEnabled', args) ??
      false;
}