PlatformInAppBrowserEventsMethod enum

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

Inheritance
Available extensions

Values

androidOnFormResubmission → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnFormResubmission method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

androidOnGeolocationPermissionsHidePrompt → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnGeolocationPermissionsHidePrompt method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

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

androidOnGeolocationPermissionsShowPrompt → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnGeolocationPermissionsShowPrompt method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

androidOnJsBeforeUnload → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnJsBeforeUnload method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • jsBeforeUnloadRequest: all platforms

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

androidOnPermissionRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnPermissionRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms
  • resources: all platforms

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

androidOnReceivedIcon → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnReceivedIcon method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • icon: all platforms

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

androidOnReceivedLoginRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnReceivedLoginRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • loginRequest: all platforms

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

androidOnReceivedTouchIconUrl → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnReceivedTouchIconUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • precomposed: all platforms

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

androidOnRenderProcessGone → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnRenderProcessGone method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • detail: all platforms

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

androidOnRenderProcessResponsive → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnRenderProcessResponsive method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

androidOnRenderProcessUnresponsive → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnRenderProcessUnresponsive method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

androidOnSafeBrowsingHit → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnSafeBrowsingHit method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • threatType: all platforms

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

androidOnScaleChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidOnScaleChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • oldScale: all platforms
  • newScale: all platforms

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

androidShouldInterceptRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.androidShouldInterceptRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

iosOnDidReceiveServerRedirectForProvisionalNavigation → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.iosOnDidReceiveServerRedirectForProvisionalNavigation method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView

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

iosOnNavigationResponse → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.iosOnNavigationResponse method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • navigationResponse: all platforms

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

iosOnWebContentProcessDidTerminate → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.iosOnWebContentProcessDidTerminate method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView

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

iosShouldAllowDeprecatedTLS → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.iosShouldAllowDeprecatedTLS method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • challenge: all platforms

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

onAcceleratorKeyPressed → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onAcceleratorKeyPressed method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • detail: all platforms

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

onAjaxProgress → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onAjaxProgress method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • In order to be able to listen this event, check the InAppWebViewSettings.useShouldInterceptAjaxRequest and InAppWebViewSettings.useOnAjaxProgress settings documentation. Also, on Android that doesn't support the WebViewFeature.DOCUMENT_START_SCRIPT, unlike iOS that has WKUserScript that can inject javascript code right after the document element is created but before any other content is loaded, in Android the javascript code used to intercept ajax requests is loaded as soon as possible so it won't be instantaneous as iOS. In that case, after the window.addEventListener("flutterInAppWebViewPlatformReady") event is dispatched, the ajax requests can be intercept for sure.
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • ajaxRequest: all platforms

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

onAjaxReadyStateChange → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onAjaxReadyStateChange method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • ajaxRequest: all platforms

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

onBrowserCreated → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onBrowserCreated method is supported at runtime.

Officially Supported Platforms/Implementations:

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

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

onCameraCaptureStateChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onCameraCaptureStateChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView 15.0+
  • macOS WKWebView 12.0+

Parameters - Officially Supported Platforms/Implementations:

  • oldState: all platforms
  • newState: all platforms

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

onCloseWindow → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onCloseWindow method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onConsoleMessage → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onConsoleMessage method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView (Official API - WebChromeClient.onConsoleMessage)
  • iOS WKWebView:
    • This event is implemented using JavaScript.
  • macOS WKWebView:
    • This event is implemented using JavaScript.
  • Web <iframe> but requires same origin
  • Windows WebView2

Parameters - Officially Supported Platforms/Implementations:

  • consoleMessage: all platforms

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

onContentLoading → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onContentLoading method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onContentSizeChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onContentSizeChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • oldContentSize: all platforms
  • newContentSize: all platforms

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

onCreateWindow → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onCreateWindow method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • createWindowAction: all platforms

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

onDOMContentLoaded → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onDOMContentLoaded method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onDidReceiveServerRedirectForProvisionalNavigation → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onDidReceiveServerRedirectForProvisionalNavigation method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onDownloadStart → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onDownloadStart method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onDownloadStartRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onDownloadStartRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • downloadStartRequest: all platforms

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

onDownloadStarting → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onDownloadStarting method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • downloadStartRequest: all platforms

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

onEnterFullscreen → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onEnterFullscreen method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onExit → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onExit method is supported at runtime.

Officially Supported Platforms/Implementations:

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

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

onExitFullscreen → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onExitFullscreen method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onFaviconChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onFaviconChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • faviconChangedRequest: all platforms

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

onFindResultReceived → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onFindResultReceived method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • activeMatchOrdinal: all platforms
  • numberOfMatches: all platforms
  • isDoneCounting: all platforms

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

onFormResubmission → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onFormResubmission method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onGeolocationPermissionsHidePrompt → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onGeolocationPermissionsHidePrompt method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onGeolocationPermissionsShowPrompt → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onGeolocationPermissionsShowPrompt method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

onJsAlert → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onJsAlert method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • jsAlertRequest: all platforms

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

onJsConfirm → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onJsConfirm method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • jsConfirmRequest: all platforms

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

onJsPrompt → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onJsPrompt method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • jsPromptRequest: all platforms

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

onLaunchingExternalUriScheme → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLaunchingExternalUriScheme method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onLoadError → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadError method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • code: all platforms
  • message: all platforms

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

onLoadHttpError → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadHttpError method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • statusCode: all platforms
  • description: all platforms

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

onLoadResource → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadResource method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • This event is implemented using JavaScript.
  • iOS WKWebView:
    • This event is implemented using JavaScript.
  • macOS WKWebView:
    • This event is implemented using JavaScript.

Parameters - Officially Supported Platforms/Implementations:

  • resource: all platforms

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

onLoadResourceCustomScheme → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadResourceCustomScheme method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onLoadResourceWithCustomScheme → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadResourceWithCustomScheme method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onLoadStart → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadStart method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onLoadStop → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLoadStop method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onLongPressHitTestResult → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onLongPressHitTestResult method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • hitTestResult: all platforms

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

onMainWindowWillClose → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onMainWindowWillClose method is supported at runtime.

Officially Supported Platforms/Implementations:

  • macOS WKWebView

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

onMicrophoneCaptureStateChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onMicrophoneCaptureStateChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

  • iOS WKWebView 15.0+
  • macOS WKWebView 12.0+

Parameters - Officially Supported Platforms/Implementations:

  • oldState: all platforms
  • newState: all platforms

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

onNavigationResponse → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onNavigationResponse method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • navigationResponse: all platforms

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

onNotificationReceived → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onNotificationReceived method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onOverScrolled → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onOverScrolled method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • x: all platforms
  • y: all platforms
  • clampedX: all platforms
  • clampedY: all platforms

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

onPageCommitVisible → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onPageCommitVisible method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onPermissionRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onPermissionRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • permissionRequest: all platforms

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

onPermissionRequestCanceled → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onPermissionRequestCanceled method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • permissionRequest: all platforms

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

onPrint → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onPrint method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onPrintRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onPrintRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • printJobController: all platforms

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

onProcessFailed → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onProcessFailed method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • detail: all platforms

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

onProgressChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onProgressChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • progress: all platforms

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

onReceivedClientCertRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedClientCertRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • challenge: all platforms

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

onReceivedError → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedError method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms
  • error: all platforms

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

onReceivedHttpAuthRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedHttpAuthRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • challenge: all platforms

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

onReceivedHttpError → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedHttpError method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms
  • errorResponse: all platforms

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

onReceivedIcon → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedIcon method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • icon: all platforms

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

onReceivedLoginRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedLoginRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • loginRequest: all platforms

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

onReceivedServerTrustAuthRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedServerTrustAuthRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • challenge: all platforms

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

onReceivedTouchIconUrl → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onReceivedTouchIconUrl method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • precomposed: all platforms

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

onRenderProcessGone → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onRenderProcessGone method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • detail: all platforms

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

onRenderProcessResponsive → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onRenderProcessResponsive method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onRenderProcessUnresponsive → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onRenderProcessUnresponsive method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

onRequestFocus → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onRequestFocus method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onSafeBrowsingHit → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onSafeBrowsingHit method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • threatType: all platforms

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

onSaveAsUIShowing → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onSaveAsUIShowing method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onSaveFileSecurityCheckStarting → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onSaveFileSecurityCheckStarting method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onScreenCaptureStarting → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onScreenCaptureStarting method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onScrollChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onScrollChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • x: all platforms
  • y: all platforms

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

onShowFileChooser → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onShowFileChooser method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

onTitleChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onTitleChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • title: all platforms

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

onUpdateVisitedHistory → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onUpdateVisitedHistory method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • isReload:
    • Android WebView

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

onWebContentProcessDidTerminate → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onWebContentProcessDidTerminate method is supported at runtime.

Officially Supported Platforms/Implementations:

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

onWindowBlur → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onWindowBlur method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

onWindowFocus → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onWindowFocus method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

onZoomScaleChanged → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.onZoomScaleChanged method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • oldScale: all platforms
  • newScale: all platforms

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

shouldAllowDeprecatedTLS → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.shouldAllowDeprecatedTLS method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • challenge: all platforms

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

shouldInterceptAjaxRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.shouldInterceptAjaxRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • In order to be able to listen this event, check the InAppWebViewSettings.useShouldInterceptAjaxRequest setting documentation. Also, on Android that doesn't support the WebViewFeature.DOCUMENT_START_SCRIPT, unlike iOS that has WKUserScript that can inject javascript code right after the document element is created but before any other content is loaded, in Android the javascript code used to intercept ajax requests is loaded as soon as possible so it won't be instantaneous as iOS. In that case, after the window.addEventListener("flutterInAppWebViewPlatformReady") event is dispatched, the ajax requests can be intercept for sure.
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • ajaxRequest: all platforms

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

shouldInterceptFetchRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.shouldInterceptFetchRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView:
    • In order to be able to listen this event, check the InAppWebViewSettings.useShouldInterceptFetchRequest setting documentation. Also, on Android that doesn't support the WebViewFeature.DOCUMENT_START_SCRIPT, unlike iOS that has WKUserScript that can inject javascript code right after the document element is created but before any other content is loaded, in Android the javascript code used to intercept ajax requests is loaded as soon as possible so it won't be instantaneous as iOS. In that case, after the window.addEventListener("flutterInAppWebViewPlatformReady") event is dispatched, the ajax requests can be intercept for sure.
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • fetchRequest: all platforms

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

shouldInterceptRequest → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.shouldInterceptRequest method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

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

shouldOverrideUrlLoading → const PlatformInAppBrowserEventsMethod

Can be used to check if the PlatformInAppBrowserEvents.shouldOverrideUrlLoading method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • navigationAction: all platforms

Use the PlatformInAppBrowserEvents.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<PlatformInAppBrowserEventsMethod>
A constant List of the values in this enum, in order of their declaration.