NetworkRequest.Builder.SetIncludeOtherUidNetworks(Boolean) Method

Definition

Controls whether to match networks not applicable to the calling UID.

[Android.Runtime.Register("setIncludeOtherUidNetworks", "(Z)Landroid/net/NetworkRequest$Builder;", "GetSetIncludeOtherUidNetworks_ZHandler", ApiSince=31)]
public virtual Android.Net.NetworkRequest.Builder SetIncludeOtherUidNetworks(bool include);
[<Android.Runtime.Register("setIncludeOtherUidNetworks", "(Z)Landroid/net/NetworkRequest$Builder;", "GetSetIncludeOtherUidNetworks_ZHandler", ApiSince=31)>]
abstract member SetIncludeOtherUidNetworks : bool -> Android.Net.NetworkRequest.Builder
override this.SetIncludeOtherUidNetworks : bool -> Android.Net.NetworkRequest.Builder

Parameters

include
Boolean

true to include those networks; otherwise, false.

Returns

This builder.

Attributes

Remarks

When other-UID networks are included, privacy-sensitive fields such as network specifiers are redacted or removed.

Java documentation for android.net.NetworkRequest.Builder.setIncludeOtherUidNetworks(boolean).

Applies to