다음을 통해 공유


NetworkCapabilities.GetCapabilities Method

Definition

Gets all the capabilities set on this NetworkCapability instance.

[Android.Runtime.Register("getCapabilities", "()[I", "", ApiSince=31)]
public int[] GetCapabilities ();
[<Android.Runtime.Register("getCapabilities", "()[I", "", ApiSince=31)>]
member this.GetCapabilities : unit -> int[]

Returns

Int32[]

an array of capability values for this instance.

Attributes

Remarks

Gets all the capabilities set on this NetworkCapability instance.

Java documentation for android.net.NetworkCapabilities.getCapabilities().

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