overrideApns property
Whether override APNs are disabled or enabled.
See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.
Optional. Possible string values are:
- "OVERRIDE_APNS_UNSPECIFIED" : Unspecified. Defaults to OVERRIDE_APNS_DISABLED.
- "OVERRIDE_APNS_DISABLED" : Override APNs disabled. Any configured apnSettings are saved on the device, but are disabled and have no effect. Any other APNs on the device remain in use.
- "OVERRIDE_APNS_ENABLED" : Override APNs enabled. Only override APNs are in use, any other APNs are ignored. This can only be set on fully managed devices on Android 10 and above. For work profiles override APNs are enabled via preferentialNetworkServiceSettings and this value cannot be set. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.
Implementation
core.String? overrideApns;