Share via


WebMessagePort.PostMessage(WebMessage) Method

Definition

Post a WebMessage to the entangled port.

[Android.Runtime.Register("postMessage", "(Landroid/webkit/WebMessage;)V", "GetPostMessage_Landroid_webkit_WebMessage_Handler", ApiSince=23)]
public abstract void PostMessage (Android.Webkit.WebMessage? message);
[<Android.Runtime.Register("postMessage", "(Landroid/webkit/WebMessage;)V", "GetPostMessage_Landroid_webkit_WebMessage_Handler", ApiSince=23)>]
abstract member PostMessage : Android.Webkit.WebMessage -> unit

Parameters

message
WebMessage

the message from Java to JS.

Attributes

Remarks

Post a WebMessage to the entangled port.

Java documentation for android.webkit.WebMessagePort.postMessage(android.webkit.WebMessage).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to