WebMessagePort.WebMessageCallback.OnMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Message callback for receiving onMessage events.
[Android.Runtime.Register("onMessage", "(Landroid/webkit/WebMessagePort;Landroid/webkit/WebMessage;)V", "GetOnMessage_Landroid_webkit_WebMessagePort_Landroid_webkit_WebMessage_Handler", ApiSince=23)]
public virtual void OnMessage (Android.Webkit.WebMessagePort? port, Android.Webkit.WebMessage? message);
[<Android.Runtime.Register("onMessage", "(Landroid/webkit/WebMessagePort;Landroid/webkit/WebMessage;)V", "GetOnMessage_Landroid_webkit_WebMessagePort_Landroid_webkit_WebMessage_Handler", ApiSince=23)>]
abstract member OnMessage : Android.Webkit.WebMessagePort * Android.Webkit.WebMessage -> unit
override this.OnMessage : Android.Webkit.WebMessagePort * Android.Webkit.WebMessage -> unit
Parameters
- port
- WebMessagePort
the WebMessagePort that the message is destined for
- message
- WebMessage
the message from the entangled port.
- Attributes
Remarks
Message callback for receiving onMessage events.
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.