NetworkRequest.Builder.SetIncludeOtherUidNetworks(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).