JavaScriptReplyProxy class
This class represents the JavaScript object injected by InAppWebViewController.addWebMessageListener.
An instance will be given by WebMessageListener.onPostMessage.
The app can use postMessage(String)
to talk to the JavaScript context.
There is a 1:1 relationship between this object and the JavaScript object in a frame.
Constructors
- JavaScriptReplyProxy(WebMessageListener webMessageListener)
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
-
postMessage(
String message) → Future< void> -
Post a
message
to the injected JavaScript object which sent this JavaScriptReplyProxy. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited