isRunning method

bool isRunning()

Indicates if the headless WebView is running or not.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe>
  • Windows WebView2
  • Linux WPE WebKit

Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.

Implementation

bool isRunning() => platform.isRunning();