Compartir a través de


PreferentialNetworkServiceConfig.GetIncludedUids Method

Definition

Get the array of uids that are applicable for the profile preference.

[Android.Runtime.Register("getIncludedUids", "()[I", "", ApiSince=33)]
public int[] GetIncludedUids ();
[<Android.Runtime.Register("getIncludedUids", "()[I", "", ApiSince=33)>]
member this.GetIncludedUids : unit -> int[]

Returns

Int32[]

Array of uids applicable for the profile preference. Empty array would mean that this request applies to all uids in the profile.

Attributes

Remarks

Get the array of uids that are applicable for the profile preference.

#getExcludedUids() Included UIDs and Excluded UIDs can't both be non-empty. if both are empty, it means this request applies to all uids in the user profile. if included is not empty, then only included UIDs are applied. if excluded is not empty, then it is all uids in the user profile except these UIDs.

Java documentation for android.app.admin.PreferentialNetworkServiceConfig.getIncludedUids().

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