Language

PreferentialNetworkServiceConfig.Builder.SetExcludedUids(Int32[]) Method

Definition

Set the array of uids who are not allowed through this preferential network service.

[Android.Runtime.Register("setExcludedUids", "([I)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)]
public Android.App.Admin.PreferentialNetworkServiceConfig.Builder SetExcludedUids(int[] uids);
[<Android.Runtime.Register("setExcludedUids", "([I)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)>]
member this.SetExcludedUids : int[] -> Android.App.Admin.PreferentialNetworkServiceConfig.Builder

Parameters

uids
Int32[]

array of excluded uids. This value cannot be null.

Returns

The builder to facilitate chaining. This value cannot be null.

Attributes

Remarks

Set the array of uids who are not allowed through this preferential network service. 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.

Android reference for android.app.admin.PreferentialNetworkServiceConfig.Builder.setExcludedUids.

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