nonMatchingNetworks property

String? nonMatchingNetworks
getter/setter pair

Whether apps this configuration applies to are blocked from using networks other than the preferential service.

If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED.

Optional. Possible string values are:

  • "NON_MATCHING_NETWORKS_UNSPECIFIED" : Unspecified. Defaults to NON_MATCHING_NETWORKS_ALLOWED.
  • "NON_MATCHING_NETWORKS_ALLOWED" : Apps this configuration applies to are allowed to use networks other than the preferential service.
  • "NON_MATCHING_NETWORKS_DISALLOWED" : Apps this configuration applies to are disallowed from using other networks than the preferential service. This can be set on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14. If this is set, fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected otherwise.

Implementation

core.String? nonMatchingNetworks;