PlatformInAppWebViewControllerMethod enum

List of PlatformInAppWebViewController's methods that can be used to check if they are supported or not by the current platform.

Inheritance
  • Object
  • Enum
  • PlatformInAppWebViewControllerMethod
Available extensions

Values

addDevToolsProtocolEventListener → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.addDevToolsProtocolEventListener method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • eventName: all platforms
  • callback: all platforms

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

addJavaScriptHandler → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.addJavaScriptHandler method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • handlerName: all platforms
  • callback: all platforms

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

addUserScript → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.addUserScript method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • userScript: all platforms

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

addUserScripts → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.addUserScripts method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Linux WPE WebKit
  • macOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • userScripts: all platforms

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

addWebMessageListener → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.addWebMessageListener method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • webMessageListener: all platforms

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

callAsyncJavaScript → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.callAsyncJavaScript method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • functionBody: all platforms
  • arguments: all platforms
  • contentWorld: all platforms

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

callDevToolsProtocolMethod → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.callDevToolsProtocolMethod method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • methodName: all platforms
  • parameters: all platforms

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

canGoBack → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.canGoBack method is supported at runtime.

Officially Supported Platforms/Implementations:

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

canGoBackOrForward → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.canGoBackOrForward method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • steps: all platforms

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

canGoForward → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.canGoForward method is supported at runtime.

Officially Supported Platforms/Implementations:

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

canScrollHorizontally → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.canScrollHorizontally method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView:
    • This method is implemented using JavaScript.
  • Web <iframe> but requires same origin

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

canScrollVertically → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.canScrollVertically method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView:
    • This method is implemented using JavaScript.
  • Web <iframe> but requires same origin

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

clearAllCache → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearAllCache method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • includeDiskFiles: all platforms

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

clearCache → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearCache method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

clearClientCertPreferences → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearClientCertPreferences method is supported at runtime.

Officially Supported Platforms/Implementations:

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

clearFocus → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearFocus method is supported at runtime.

Officially Supported Platforms/Implementations:

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

clearFormData → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearFormData method is supported at runtime.

Officially Supported Platforms/Implementations:

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

clearHistory → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearHistory method is supported at runtime.

Officially Supported Platforms/Implementations:

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

clearMatches → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearMatches method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

clearSslPreferences → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.clearSslPreferences method is supported at runtime.

Officially Supported Platforms/Implementations:

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

closeAllMediaPresentations → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.closeAllMediaPresentations method is supported at runtime.

Officially Supported Platforms/Implementations:

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

createPdf → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.createPdf method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • pdfConfiguration: all platforms

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

createWebArchiveData → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.createWebArchiveData method is supported at runtime.

Officially Supported Platforms/Implementations:

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

createWebMessageChannel → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.createWebMessageChannel method is supported at runtime.

Officially Supported Platforms/Implementations:

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

disableWebView → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.disableWebView method is supported at runtime.

Officially Supported Platforms/Implementations:

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

dispose → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.dispose method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • isKeepAlive: all platforms

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

disposeKeepAlive → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.disposeKeepAlive method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Windows WebView2
  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • keepAlive: all platforms

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

enableSlowWholeDocumentDraw → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.enableSlowWholeDocumentDraw method is supported at runtime.

Officially Supported Platforms/Implementations:

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

evaluateJavascript → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.evaluateJavascript method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • source: all platforms
  • contentWorld:
    • Android WebView
    • iOS WKWebView 14.0+
    • macOS WKWebView 11.0+
    • Windows WebView2

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

findAllAsync → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.findAllAsync method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • find: all platforms

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

findNext → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.findNext method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • forward: all platforms

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

getCameraCaptureState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getCameraCaptureState method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getCertificate → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getCertificate method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getContentHeight → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getContentHeight method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getContentWidth → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getContentWidth method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getCopyBackForwardList → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getCopyBackForwardList method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getCurrentWebViewPackage → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getCurrentWebViewPackage method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getDefaultUserAgent → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getDefaultUserAgent method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getFavicon → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getFavicon method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • faviconImageFormat: all platforms

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

getFavicons → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getFavicons method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2
  • Linux WPE WebKit

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

getFrameId → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getFrameId method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getHitTestResult → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getHitTestResult method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getHtml → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getHtml method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getIFrameId → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getIFrameId method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Web <iframe> but requires same origin

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

getJavaScriptBridgeName → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getJavaScriptBridgeName method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2
  • Linux WPE WebKit

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

getMemoryUsageTargetLevel → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getMemoryUsageTargetLevel method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getMetaTags → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getMetaTags method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • This method is implemented using JavaScript.
  • iOS WKWebView:
    • This method is implemented using JavaScript.
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView:
    • This method is implemented using JavaScript.
  • Web <iframe> but requires same origin:
    • This method is implemented using JavaScript.
  • Windows WebView2:
    • This method is implemented using JavaScript.

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

getMetaThemeColor → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getMetaThemeColor method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getMicrophoneCaptureState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getMicrophoneCaptureState method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getOptions → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getOptions method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getOriginalUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getOriginalUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView (Official API - WebView.getOriginalUrl)
  • iOS WKWebView
  • Linux WPE WebKit (Official API - webkit_web_view_get_uri):
    • Returns the current URL. WPE WebKit does not distinguish between original and current URL.
  • macOS WKWebView
  • Web <iframe> but requires same origin:
    • It will return the current value of the iframe.src attribute.
  • Windows WebView2:
    • Returns the current URL. WebView2 does not distinguish between original and current URL.

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

getProgress → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getProgress method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getSafeBrowsingPrivacyPolicyUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getSafeBrowsingPrivacyPolicyUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getScale → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getScale method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

getScreenScale → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getScreenScale method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getScrollX → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getScrollX method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getScrollY → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getScrollY method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getSelectedText → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getSelectedText method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • This method is implemented using JavaScript.
  • iOS WKWebView:
    • This method is implemented using JavaScript.
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView:
    • This method is implemented using JavaScript.
  • Web <iframe> but requires same origin:
    • This method is implemented using JavaScript.

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

getSettings → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getSettings method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getTRexRunnerCss → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getTRexRunnerCss method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getTRexRunnerHtml → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getTRexRunnerHtml method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getTargetRefreshRate → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getTargetRefreshRate method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

getTitle → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getTitle method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getVariationsHeader → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getVariationsHeader method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getViewId → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getViewId method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

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

getZoomScale → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.getZoomScale method is supported at runtime.

Officially Supported Platforms/Implementations:

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

goBack → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.goBack method is supported at runtime.

Officially Supported Platforms/Implementations:

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

goBackOrForward → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.goBackOrForward method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • steps: all platforms

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

goForward → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.goForward method is supported at runtime.

Officially Supported Platforms/Implementations:

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

goTo → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.goTo method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • historyItem: all platforms

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

handlesURLScheme → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.handlesURLScheme method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • urlScheme: all platforms

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

hasJavaScriptHandler → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.hasJavaScriptHandler method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • handlerName: all platforms

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

hasOnlySecureContent → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.hasOnlySecureContent method is supported at runtime.

Officially Supported Platforms/Implementations:

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

hasUserScript → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.hasUserScript method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • userScript: all platforms

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

hasWebMessageListener → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.hasWebMessageListener method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • webMessageListener: all platforms

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

hideInputMethod → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.hideInputMethod method is supported at runtime.

Officially Supported Platforms/Implementations:

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

injectCSSCode → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.injectCSSCode method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2:
    • This method is implemented using JavaScript.

Parameters - Officially Supported Platforms/Implementations:

  • source: all platforms

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

injectCSSFileFromAsset → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.injectCSSFileFromAsset method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin

Parameters - Officially Supported Platforms/Implementations:

  • assetFilePath: all platforms

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

injectCSSFileFromUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.injectCSSFileFromUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2:
    • This method is implemented using JavaScript.

Parameters - Officially Supported Platforms/Implementations:

  • urlFile: all platforms
  • cssLinkHtmlTagAttributes: all platforms

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

injectJavascriptFileFromAsset → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.injectJavascriptFileFromAsset method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • assetFilePath: all platforms

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

injectJavascriptFileFromUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.injectJavascriptFileFromUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView
  • Web <iframe> but requires same origin

Parameters - Officially Supported Platforms/Implementations:

  • urlFile: all platforms
  • scriptHtmlTagAttributes: all platforms

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

isInFullscreen → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isInFullscreen method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Linux WPE WebKit

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

isInterfaceSupported → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isInterfaceSupported method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • interface: all platforms

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

isLoading → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isLoading method is supported at runtime.

Officially Supported Platforms/Implementations:

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

isMultiProcessEnabled → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isMultiProcessEnabled method is supported at runtime.

Officially Supported Platforms/Implementations:

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

isMuted → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isMuted method is supported at runtime.

Officially Supported Platforms/Implementations:

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

isPlayingAudio → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isPlayingAudio method is supported at runtime.

Officially Supported Platforms/Implementations:

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

isSecureContext → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isSecureContext method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView 21+:
    • This method is implemented using JavaScript.
  • iOS WKWebView:
    • This method is implemented using JavaScript.
  • Linux WPE WebKit:
    • This method is implemented using JavaScript.
  • macOS WKWebView:
    • This method is implemented using JavaScript.
  • Web <iframe> but requires same origin (Official API - Window.isSecureContext)
  • Windows WebView2:
    • This method is implemented using JavaScript.

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

isVisible → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.isVisible method is supported at runtime.

Officially Supported Platforms/Implementations:

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

loadData → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.loadData method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • data: all platforms
  • mimeType:
    • Android WebView
    • iOS WKWebView
    • macOS WKWebView
    • Web <iframe> but requires same origin
  • encoding:
    • Android WebView
    • iOS WKWebView
    • macOS WKWebView
  • baseUrl:
    • Android WebView
    • iOS WKWebView
    • macOS WKWebView
  • historyUrl:
    • Android WebView
  • allowingReadAccessTo:
    • iOS WKWebView
    • macOS WKWebView

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

loadFile → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.loadFile method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • assetFilePath: all platforms

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

loadSimulatedRequest → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.loadSimulatedRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • urlRequest: all platforms
  • data: all platforms
  • urlResponse: all platforms

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

loadUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.loadUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • urlRequest: all platforms
  • allowingReadAccessTo:
    • iOS WKWebView
    • macOS WKWebView

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

openDevTools → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.openDevTools method is supported at runtime.

Officially Supported Platforms/Implementations:

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

pageDown → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.pageDown method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • bottom: all platforms

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

pageUp → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.pageUp method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • top: all platforms

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

pause → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.pause method is supported at runtime.

Officially Supported Platforms/Implementations:

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

pauseAllMediaPlayback → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.pauseAllMediaPlayback method is supported at runtime.

Officially Supported Platforms/Implementations:

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

pauseTimers → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.pauseTimers method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView (Official API - WebView.pauseTimers)
  • iOS WKWebView:
    • This method is implemented using JavaScript and it is restricted to just this WebView.
  • macOS WKWebView:
    • This method is implemented using JavaScript and it is restricted to just this WebView.

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

postUrl → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.postUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView (Official API - WebView.postUrl)
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin:
    • It will try to create an XMLHttpRequest and load the result inside the iframe.
  • Windows WebView2
  • Linux WPE WebKit:
    • Uses JavaScript to create an XMLHttpRequest and load the result.

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • postData: all platforms

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

postWebMessage → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.postWebMessage method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • message: all platforms
  • targetOrigin: all platforms

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

printCurrentPage → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.printCurrentPage method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • settings: all platforms

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

reload → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.reload method is supported at runtime.

Officially Supported Platforms/Implementations:

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

reloadFromOrigin → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.reloadFromOrigin method is supported at runtime.

Officially Supported Platforms/Implementations:

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

removeAllUserScripts → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeAllUserScripts method is supported at runtime.

Officially Supported Platforms/Implementations:

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

removeDevToolsProtocolEventListener → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeDevToolsProtocolEventListener method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • eventName: all platforms

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

removeJavaScriptHandler → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeJavaScriptHandler method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • handlerName: all platforms

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

removeUserScript → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeUserScript method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Linux WPE WebKit
  • macOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • userScript: all platforms

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

removeUserScripts → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeUserScripts method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Linux WPE WebKit
  • macOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • userScripts: all platforms

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

removeUserScriptsByGroupName → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.removeUserScriptsByGroupName method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Linux WPE WebKit
  • macOS WKWebView:
    • This method will throw an error if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to window WebViews. This is a limitation of the native WebKit APIs.
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • groupName: all platforms

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

requestEnterFullscreen → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestEnterFullscreen method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

requestExitFullscreen → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestExitFullscreen method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

requestFocus → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestFocus method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • direction:
    • Android WebView
  • previouslyFocusedRect:
    • Android WebView

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

requestFocusNodeHref → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestFocusNodeHref method is supported at runtime.

Officially Supported Platforms/Implementations:

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

requestImageRef → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestImageRef method is supported at runtime.

Officially Supported Platforms/Implementations:

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

requestMediaPlaybackState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestMediaPlaybackState method is supported at runtime.

Officially Supported Platforms/Implementations:

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

requestPointerLock → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestPointerLock method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

requestPointerUnlock → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.requestPointerUnlock method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

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

restoreState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.restoreState method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • state: all platforms

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

resume → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.resume method is supported at runtime.

Officially Supported Platforms/Implementations:

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

resumeTimers → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.resumeTimers method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView (Official API - WebView.resumeTimers)
  • iOS WKWebView:
    • This method is implemented using JavaScript and it is restricted to just this WebView.
  • macOS WKWebView:
    • This method is implemented using JavaScript and it is restricted to just this WebView.

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

saveState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.saveState method is supported at runtime.

Officially Supported Platforms/Implementations:

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

saveWebArchive → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.saveWebArchive method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • filePath: all platforms
  • autoname: all platforms

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

scrollBy → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.scrollBy method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • x: all platforms
  • y: all platforms
  • animated: all platforms

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

scrollTo → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.scrollTo method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • x: all platforms
  • y: all platforms
  • animated: all platforms

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

setAllMediaPlaybackSuspended → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setAllMediaPlaybackSuspended method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • suspended: all platforms

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

setBackgroundColor → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setBackgroundColor method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • color: all platforms

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

setCameraCaptureState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setCameraCaptureState method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • state: all platforms

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

setContextMenu → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setContextMenu method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • contextMenu: all platforms

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

setInputMethodEnabled → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setInputMethodEnabled method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • enabled: all platforms

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

setJavaScriptBridgeName → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setJavaScriptBridgeName method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2
  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • bridgeName: all platforms

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

setMemoryUsageTargetLevel → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setMemoryUsageTargetLevel method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • level: all platforms

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

setMicrophoneCaptureState → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setMicrophoneCaptureState method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • state: all platforms

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

setMuted → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setMuted method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • muted: all platforms

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

setOptions → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setOptions method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • options: all platforms

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

setSafeBrowsingAllowlist → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setSafeBrowsingAllowlist method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • hosts: all platforms

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

setSafeBrowsingWhitelist → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setSafeBrowsingWhitelist method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • hosts: all platforms

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

setScreenScale → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setScreenScale method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • scale: all platforms

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

setSettings → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setSettings method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • Linux WPE WebKit
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • settings: all platforms

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

setTargetRefreshRate → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setTargetRefreshRate method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • rate: all platforms

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

setVisible → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setVisible method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • visible: all platforms

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

setWebContentsDebuggingEnabled → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.setWebContentsDebuggingEnabled method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • debuggingEnabled: all platforms

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

showInputMethod → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.showInputMethod method is supported at runtime.

Officially Supported Platforms/Implementations:

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

showSaveAsUI → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.showSaveAsUI method is supported at runtime.

Officially Supported Platforms/Implementations:

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

startSafeBrowsing → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.startSafeBrowsing method is supported at runtime.

Officially Supported Platforms/Implementations:

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

stopLoading → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.stopLoading method is supported at runtime.

Officially Supported Platforms/Implementations:

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

takeScreenshot → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.takeScreenshot method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • screenshotConfiguration: all platforms

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

terminateWebProcess → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.terminateWebProcess method is supported at runtime.

Officially Supported Platforms/Implementations:

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

zoomBy → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.zoomBy method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • zoomFactor: all platforms
  • animated:
    • iOS WKWebView

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

zoomIn → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.zoomIn method is supported at runtime.

Officially Supported Platforms/Implementations:

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

zoomOut → const PlatformInAppWebViewControllerMethod

Can be used to check if the PlatformInAppWebViewController.zoomOut method is supported at runtime.

Officially Supported Platforms/Implementations:

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

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PlatformInAppWebViewControllerMethod>
A constant List of the values in this enum, in order of their declaration.