WebViewPlatformCallbacksHandler class abstract
Interface for callbacks made by WebViewPlatformController.
The webview plugin implements this class, and passes an instance to the WebViewPlatformController. WebViewPlatformController is notifying this handler on events that happened on the platform's webview.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
onJavaScriptChannelMessage(
String channel, String message) → void - Invoked by WebViewPlatformController when a JavaScript channel message is received.
- Invoked by WebViewPlatformController when a navigation request is pending.
-
onPageFinished(
String url) → void - Invoked by WebViewPlatformController when a page has finished loading.
-
onPageStarted(
String url) → void - Invoked by WebViewPlatformController when a page has started loading.
-
onProgress(
int progress) → void -
Invoked by WebViewPlatformController when a page is loading.
/// Only works when WebSettings.hasProgressTracking is set to
true
. -
onWebResourceError(
WebResourceError error) → void - Report web resource loading error to the host application.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited