CarrierConfigManager.Apn


public static final class CarrierConfigManager.Apn
extends Object

java.lang.Object
   ↳ android.telephony.CarrierConfigManager.Apn


Configs used for APN setup.

Summary

Constants

String KEY_PREFIX

This constant was deprecated in API level 31. Since KEY_PREFIX is unnecessary to public, it will modify to private next android generation.

String KEY_SETTINGS_DEFAULT_PROTOCOL_STRING

Default value of APN protocol field if not specified by user when adding/modifying an APN.

String KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING

Default value of APN roaming protocol field if not specified by user when adding/modifying an APN.

String PROTOCOL_IPV4

IPv4 internet protocol

String PROTOCOL_IPV4V6

IPv4 or IPv6 internet protocol

String PROTOCOL_IPV6

IPv6 internet protocol

Inherited methods

Constants

KEY_PREFIX

Added in API level 30
Deprecated in API level 31
public static final String KEY_PREFIX

This constant was deprecated in API level 31.
Since KEY_PREFIX is unnecessary to public, it will modify to private next android generation.

Prefix of all Apn.KEY_* constants.

Constant Value: "apn."

KEY_SETTINGS_DEFAULT_PROTOCOL_STRING

Added in API level 30
public static final String KEY_SETTINGS_DEFAULT_PROTOCOL_STRING

Default value of APN protocol field if not specified by user when adding/modifying an APN. Available options are: PROTOCOL_IPV4, PROTOCOL_IPV6, PROTOCOL_IPV4V6

Constant Value: "apn.settings_default_protocol_string"

KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING

Added in API level 30
public static final String KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING

Default value of APN roaming protocol field if not specified by user when adding/modifying an APN. Available options are: PROTOCOL_IPV4, PROTOCOL_IPV6, PROTOCOL_IPV4V6

Constant Value: "apn.settings_default_roaming_protocol_string"

PROTOCOL_IPV4

Added in API level 30
public static final String PROTOCOL_IPV4

IPv4 internet protocol

Constant Value: "IP"

PROTOCOL_IPV4V6

Added in API level 30
public static final String PROTOCOL_IPV4V6

IPv4 or IPv6 internet protocol

Constant Value: "IPV4V6"

PROTOCOL_IPV6

Added in API level 30
public static final String PROTOCOL_IPV6

IPv6 internet protocol

Constant Value: "IPV6"