defaultPreferentialNetworkId property

String? defaultPreferentialNetworkId
getter/setter pair

Default preferential network ID for the applications that are not in applications or if ApplicationPolicy.preferentialNetworkId is set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED.

There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs, unless this is set to NO_PREFERENTIAL_NETWORK. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is misconfigured, applications with no ApplicationPolicy.preferentialNetworkId set are not able to access the internet. This setting does not apply to the following critical apps: com.google.android.apps.work.clouddpc com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be used to configure the preferential network for them.

Required. Possible string values are:

  • "PREFERENTIAL_NETWORK_ID_UNSPECIFIED" : Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.
  • "NO_PREFERENTIAL_NETWORK" : Application does not use any preferential network.
  • "PREFERENTIAL_NETWORK_ID_ONE" : Preferential network identifier 1.
  • "PREFERENTIAL_NETWORK_ID_TWO" : Preferential network identifier 2.
  • "PREFERENTIAL_NETWORK_ID_THREE" : Preferential network identifier 3.
  • "PREFERENTIAL_NETWORK_ID_FOUR" : Preferential network identifier 4.
  • "PREFERENTIAL_NETWORK_ID_FIVE" : Preferential network identifier 5.

Implementation

core.String? defaultPreferentialNetworkId;