WebViewPlatformCallbacksHandler class

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

WebViewPlatformCallbacksHandler()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onJavaScriptChannelMessage(String channel, String message) → void
Invoked by WebViewPlatformController when a JavaScript channel message is received.
onNavigationRequest({String url, bool isForMainFrame}) FutureOr<bool>
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.
toString() String
Returns a string representation of this object.
inherited

Operators

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