Language

BasicClientCookie.GetPorts Method

Definition

Gets the port restrictions defined for this cookie.

[Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler")]
public virtual int[]? GetPorts();
[<Android.Runtime.Register("getPorts", "()[I", "GetGetPortsHandler")>]
abstract member GetPorts : unit -> int[]
override this.GetPorts : unit -> int[]

Returns

Int32[]

null in this implementation. A subclass can override this method.

Implements

Attributes

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