AndroidNavigationDelegate class

A place to register callback methods responsible to handle navigation events triggered by the android_webview.WebView.

Inheritance
  • Object
  • PlatformInterface
  • AndroidNavigationDelegate

Constructors

AndroidNavigationDelegate(PlatformNavigationDelegateCreationParams params)
Creates a new AndroidNavigationDelegate.

Properties

androidDownloadListener → DownloadListener
Gets the native android_webview.DownloadListener that is bridged by this AndroidNavigationDelegate.
no setter
androidWebChromeClient → WebChromeClient
Gets the native android_webview.WebChromeClient that is bridged by this AndroidNavigationDelegate.
no setter
androidWebViewClient → WebViewClient
Gets the native android_webview.WebViewClient that is bridged by this AndroidNavigationDelegate.
no setter
hashCode int
The hash code for this object.
no setterinherited
params → PlatformNavigationDelegateCreationParams
The parameters used to initialize the PlatformNavigationDelegate.
finalinherited
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
setOnHttpAuthRequest(HttpAuthRequestCallback onHttpAuthRequest) Future<void>
Invoked when the web view is requesting authentication.
setOnHttpError(HttpResponseErrorCallback onHttpError) Future<void>
Invoked when an HTTP error has occurred during loading.
setOnLoadRequest(LoadRequestCallback onLoadRequest) Future<void>
Invoked when loading the url after a navigation request is approved.
setOnNavigationRequest(NavigationRequestCallback onNavigationRequest) Future<void>
Invoked when a navigation request is pending.
setOnPageFinished(PageEventCallback onPageFinished) Future<void>
Invoked when a page has finished loading.
setOnPageStarted(PageEventCallback onPageStarted) Future<void>
Invoked when a page has started loading.
setOnProgress(ProgressCallback onProgress) Future<void>
Invoked when a page is loading to report the progress.
setOnUrlChange(UrlChangeCallback onUrlChange) Future<void>
Invoked when the underlying web view changes to a new url.
setOnWebResourceError(WebResourceErrorCallback onWebResourceError) Future<void>
Invoked when a resource loading error occurred.
toString() String
A string representation of this object.
inherited

Operators

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