Udostępnij za pośrednictwem


WebMessage Constructors

Definition

Overloads

WebMessage(String)

Creates a WebMessage.

WebMessage(IntPtr, JniHandleOwnership)
WebMessage(String, WebMessagePort[])

Creates a WebMessage.

WebMessage(String)

Creates a WebMessage.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)]
public WebMessage (string? data);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Webkit.WebMessage : string -> Android.Webkit.WebMessage

Parameters

data
String

the data of the message.

Attributes

Remarks

Creates a WebMessage.

Java documentation for android.webkit.WebMessage.WebMessage(java.lang.String).

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

WebMessage(IntPtr, JniHandleOwnership)

protected WebMessage (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Webkit.WebMessage : nativeint * Android.Runtime.JniHandleOwnership -> Android.Webkit.WebMessage

Parameters

javaReference
IntPtr

nativeint

Remarks

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

WebMessage(String, WebMessagePort[])

Creates a WebMessage.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[Landroid/webkit/WebMessagePort;)V", "", ApiSince=23)]
public WebMessage (string? data, Android.Webkit.WebMessagePort[]? ports);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[Landroid/webkit/WebMessagePort;)V", "", ApiSince=23)>]
new Android.Webkit.WebMessage : string * Android.Webkit.WebMessagePort[] -> Android.Webkit.WebMessage

Parameters

data
String

the data of the message.

ports
WebMessagePort[]

the ports that are sent with the message.

Attributes

Remarks

Creates a WebMessage.

Java documentation for android.webkit.WebMessage.WebMessage(java.lang.String, android.webkit.WebMessagePort[]).

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