PreferentialNetworkServiceConfig.ShouldBlockNonMatchingNetworks 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.
Whether to block UIDs from using other networks than the preferential service.
[Android.Runtime.Register("shouldBlockNonMatchingNetworks", "()Z", "", ApiSince=34)]
public bool ShouldBlockNonMatchingNetworks ();
[<Android.Runtime.Register("shouldBlockNonMatchingNetworks", "()Z", "", ApiSince=34)>]
member this.ShouldBlockNonMatchingNetworks : unit -> bool
Returns
true if UIDs should be blocked from using the other networks, else false.
- Attributes
Remarks
Whether to block UIDs from using other networks than the preferential service.
Apps can inspect the list of available networks on the device and choose to use multiple of them concurrently for performance, privacy or other reasons. This boolean configures whether the concerned UIDs should be blocked from using networks that do not match the configured preferential network service even if these networks are otherwise open to all apps.
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.