Compartir a través de


WebMessage.GetPorts Method

Definition

Returns the ports that are sent with the message, or null if no port is sent.

[Android.Runtime.Register("getPorts", "()[Landroid/webkit/WebMessagePort;", "GetGetPortsHandler", ApiSince=23)]
public virtual Android.Webkit.WebMessagePort[]? GetPorts ();
[<Android.Runtime.Register("getPorts", "()[Landroid/webkit/WebMessagePort;", "GetGetPortsHandler", ApiSince=23)>]
abstract member GetPorts : unit -> Android.Webkit.WebMessagePort[]
override this.GetPorts : unit -> Android.Webkit.WebMessagePort[]

Returns

Attributes

Remarks

Returns the ports that are sent with the message, or null if no port is sent.

Java documentation for android.webkit.WebMessage.getPorts().

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