preferentialNetworkId property
ID of the preferential network the application uses.
There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above.
Optional. 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? preferentialNetworkId;