Udostępnij za pośrednictwem


PreferentialNetworkServiceConfig.GetExcludedUids Method

Definition

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

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

Returns

Int32[]

Array of uids that are excluded 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 excluded for the profile preference.

#getIncludedUids() 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.getExcludedUids().

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