# Telephony.Carriers

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Carriers

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/provider/Telephony.Carriers "View this page in Java")  

```
class Carriers : BaseColumns
```

|---|----------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                             ||
| ↳ | [android.provider.Telephony.Carriers](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#) |

Carriers class contains information about APNs, including MMSC information.

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ALWAYS_ON](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#ALWAYS_ON:kotlin.String) Sets whether the PDU session brought up by this APN should always be on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [APN](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#APN:kotlin.String) APN name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [AUTH_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#AUTH_TYPE:kotlin.String) Authentication type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [BEARER](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#BEARER:kotlin.String) Radio Access Technology info.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CARRIER_ENABLED](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#CARRIER_ENABLED:kotlin.String) Is this APN enabled?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CARRIER_ID](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#CARRIER_ID:kotlin.String) A unique carrier id associated with this APN[TelephonyManager.getSimCarrierId()](https://developer.android.com/reference/kotlin/android/telephony/TelephonyManager.html#getSimCarrierId())In case of matching carrier information, this should be used by default instead of those fields of[MCC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MCC:kotlin.String),[MNC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MNC:kotlin.String),[NUMERIC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NUMERIC:kotlin.String),[MVNO_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_TYPE:kotlin.String),[MVNO_MATCH_DATA](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_MATCH_DATA:kotlin.String), etc. |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CURRENT](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#CURRENT:kotlin.String) Is this the current APN?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DEFAULT_SORT_ORDER](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#DEFAULT_SORT_ORDER:kotlin.String) The default sort order for this table.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MCC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MCC:kotlin.String) Mobile Country Code (MCC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MMSC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MMSC:kotlin.String) MMSC URL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MMSPORT](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MMSPORT:kotlin.String) MMS proxy port.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MMSPROXY](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MMSPROXY:kotlin.String) MMS proxy address.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MNC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MNC:kotlin.String) Mobile Network Code (MNC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MTU_V4](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MTU_V4:kotlin.String) The MTU (maximum transmit unit) size of the mobile interface for IPv4 to which the APN is connected, in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MTU_V6](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MTU_V6:kotlin.String) The MTU (maximum transmit unit) size of the mobile interface for IPv6 to which the APN is connected, in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MVNO_MATCH_DATA](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_MATCH_DATA:kotlin.String) MVNO data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MVNO_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_TYPE:kotlin.String) MVNO type:`SPN (Service Provider Name), IMSI, GID (Group Identifier Level 1)`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NAME](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NAME:kotlin.String) Entry name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NETWORK_TYPE_BITMASK](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NETWORK_TYPE_BITMASK:kotlin.String) Radio technology (network type) bitmask.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NUMERIC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NUMERIC:kotlin.String) Numeric operator ID (as String).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PASSWORD](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#PASSWORD:kotlin.String) APN password.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PORT](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#PORT:kotlin.String) Proxy port.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PROTOCOL](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#PROTOCOL:kotlin.String) The protocol to use to connect to this APN.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PROXY](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#PROXY:kotlin.String) Proxy address.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ROAMING_PROTOCOL](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#ROAMING_PROTOCOL:kotlin.String) The protocol to use to connect to this APN when roaming.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SERVER](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SERVER:kotlin.String) Server address.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SUBSCRIPTION_ID](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SUBSCRIPTION_ID:kotlin.String) The subscription to which the APN belongs to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#TYPE:kotlin.String) Comma-delimited list of APN types.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [USER](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#USER:kotlin.String) APN username.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [USER_EDITABLE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#USER_EDITABLE:kotlin.String) `true`if the user allowed to edit this APN,`false`otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [USER_VISIBLE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#USER_VISIBLE:kotlin.String) `true`if this APN visible to the user,`false`otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

| Inherited constants ||
|---|---|
| From class[BaseColumns](https://developer.android.com/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) <br /> The count of rows in a directory. Type: INTEGER <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) <br /> The unique ID for a row. Type: INTEGER (long) <br />         | ||

|                                                                                                                        Properties                                                                                                                         ||
|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#) | [CONTENT_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#CONTENT_URI:android.net.Uri) The`content://`style URL for this table. |
| static[Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#) | [SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri) The`content://`style URL for this table. |

## Constants

### ALWAYS_ON

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ALWAYS_ON: String
```

Sets whether the PDU session brought up by this APN should always be on. See 3GPP TS 23.501 section 5.6.13

Type: INTEGER  

    Value: "always_on"

### APN

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val APN: String
```

APN name.

Type: TEXT  

    Value: "apn"

### AUTH_TYPE

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val AUTH_TYPE: String
```

Authentication type.

Type: INTEGER  

    Value: "authtype"

### BEARER

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val BEARER: String
```

**Deprecated:** *this column is no longer supported, use[NETWORK_TYPE_BITMASK](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NETWORK_TYPE_BITMASK:kotlin.String)instead*

Radio Access Technology info. To check what values are allowed, refer to[android.telephony.ServiceState](https://developer.android.com/reference/kotlin/android/telephony/ServiceState.html#). This should be spread to other technologies, but is currently only used for LTE (14) and eHRPD (13).

Type: INTEGER  

    Value: "bearer"

### CARRIER_ENABLED

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CARRIER_ENABLED: String
```

Is this APN enabled?

Type: INTEGER (boolean)  

    Value: "carrier_enabled"

### CARRIER_ID

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CARRIER_ID: String
```

A unique carrier id associated with this APN[TelephonyManager.getSimCarrierId()](https://developer.android.com/reference/kotlin/android/telephony/TelephonyManager.html#getSimCarrierId())In case of matching carrier information, this should be used by default instead of those fields of[MCC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MCC:kotlin.String),[MNC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MNC:kotlin.String),[NUMERIC](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#NUMERIC:kotlin.String),[MVNO_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_TYPE:kotlin.String),[MVNO_MATCH_DATA](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#MVNO_MATCH_DATA:kotlin.String), etc.

Type: STRING  

    Value: "carrier_id"

### CURRENT

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CURRENT: String
```

Is this the current APN?

Type: INTEGER (boolean)  

    Value: "current"

### DEFAULT_SORT_ORDER

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val DEFAULT_SORT_ORDER: String
```

The default sort order for this table.  

    Value: "name ASC"

### MCC

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MCC: String
```

**Deprecated:** *Use[SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri)to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MCC and other carrier matching information. In the future, Android will not support MCC for APN query.*

Mobile Country Code (MCC).

Type: TEXT  

    Value: "mcc"

### MMSC

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MMSC: String
```

MMSC URL.

Type: TEXT  

    Value: "mmsc"

### MMSPORT

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MMSPORT: String
```

MMS proxy port.

Type: TEXT  

    Value: "mmsport"

### MMSPROXY

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MMSPROXY: String
```

MMS proxy address.

Type: TEXT  

    Value: "mmsproxy"

### MNC

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MNC: String
```

**Deprecated:** *Use[SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri)to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MNC and other carrier matching information. In the future, Android will not support MNC for APN query.*

Mobile Network Code (MNC).

Type: TEXT  

    Value: "mnc"

### MTU_V4

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MTU_V4: String
```

The MTU (maximum transmit unit) size of the mobile interface for IPv4 to which the APN is connected, in bytes.

Type: INTEGER  

    Value: "mtu_v4"

### MTU_V6

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MTU_V6: String
```

The MTU (maximum transmit unit) size of the mobile interface for IPv6 to which the APN is connected, in bytes.

Type: INTEGER  

    Value: "mtu_v6"

### MVNO_MATCH_DATA

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MVNO_MATCH_DATA: String
```

**Deprecated:** *Use[SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri)to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MVNO_MATCH_DATA and other carrier matching information. In the future, Android will not support MVNO_MATCH_DATA for APN query.*

MVNO data. Use the following examples.

- SPN: A MOBILE, BEN NL, ...
- IMSI: 302720x94, 2060188, ...
- GID: 4E, 33, ...

<br />

Type: TEXT  

    Value: "mvno_match_data"

### MVNO_TYPE

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val MVNO_TYPE: String
```

**Deprecated:** *Use[SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri)to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MVNO_TYPE and other carrier matching information. In the future, Android will not support MVNO_TYPE for APN query.*

MVNO type:`SPN (Service Provider Name), IMSI, GID (Group Identifier Level 1)`.

Type: TEXT  

    Value: "mvno_type"

### NAME

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val NAME: String
```

Entry name.

Type: TEXT  

    Value: "name"

### NETWORK_TYPE_BITMASK

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val NETWORK_TYPE_BITMASK: String
```

Radio technology (network type) bitmask. To check what values can be contained, refer to the NETWORK_TYPE_ constants in[android.telephony.TelephonyManager](https://developer.android.com/reference/kotlin/android/telephony/TelephonyManager.html#). Bitmask for a radio tech R is (1 \<\< (R - 1))

Type: INTEGER  

    Value: "network_type_bitmask"

### NUMERIC

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val NUMERIC: String
```

**Deprecated:** *Use[SIM_APN_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.Carriers#SIM_APN_URI:android.net.Uri)to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify Numeric and other carrier matching information. In the future, Android will not support Numeric for APN query.*

Numeric operator ID (as String). Usually`MCC + MNC`.

Type: TEXT  

    Value: "numeric"

### PASSWORD

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val PASSWORD: String
```

APN password.

Type: TEXT  

    Value: "password"

### PORT

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val PORT: String
```

Proxy port.

Type: TEXT  

    Value: "port"

### PROTOCOL

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val PROTOCOL: String
```

The protocol to use to connect to this APN. One of the`PDP_type`values in TS 27.007 section 10.1.1. For example:`IP`,`IPV6`,`IPV4V6`, or`PPP`.

Type: TEXT  

    Value: "protocol"

### PROXY

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val PROXY: String
```

Proxy address.

Type: TEXT  

    Value: "proxy"

### ROAMING_PROTOCOL

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ROAMING_PROTOCOL: String
```

The protocol to use to connect to this APN when roaming. The syntax is the same as protocol.

Type: TEXT  

    Value: "roaming_protocol"

### SERVER

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val SERVER: String
```

Server address.

Type: TEXT  

    Value: "server"

### SUBSCRIPTION_ID

Added in[API level 22](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val SUBSCRIPTION_ID: String
```

The subscription to which the APN belongs to

Type: INTEGER (long)  

    Value: "sub_id"

### TYPE

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TYPE: String
```

Comma-delimited list of APN types.

Type: TEXT  

    Value: "type"

### USER

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val USER: String
```

APN username.

Type: TEXT  

    Value: "user"

### USER_EDITABLE

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val USER_EDITABLE: String
```

`true`if the user allowed to edit this APN,`false`otherwise.

Type: INTEGER (boolean)  

    Value: "user_editable"

### USER_VISIBLE

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val USER_VISIBLE: String
```

`true`if this APN visible to the user,`false`otherwise.

Type: INTEGER (boolean)  

    Value: "user_visible"

## Properties

### CONTENT_URI

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CONTENT_URI: Uri
```

The`content://`style URL for this table. For MSIM, this will return APNs for the default subscription[SubscriptionManager.getDefaultSubscriptionId()](https://developer.android.com/reference/kotlin/android/telephony/SubscriptionManager.html#getDefaultSubscriptionId()). To specify subId for MSIM, use[Uri.withAppendedPath(Uri, String)](https://developer.android.com/reference/kotlin/android/net/Uri.html#withAppendedPath(android.net.Uri,%20kotlin.String))to append with subscription id.  

### SIM_APN_URI

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val SIM_APN_URI: Uri
```

The`content://`style URL for this table. Used for APN query based on current subscription. Instead of specifying carrier matching information in the selection, this API will return all matching APNs from current subscription carrier and queries will be applied on top of that. If there is no match for MVNO (Mobile Virtual Network Operator) APNs, return APNs from its MNO (based on mccmnc) instead. For MSIM, this will return APNs for the default subscription[SubscriptionManager.getDefaultSubscriptionId()](https://developer.android.com/reference/kotlin/android/telephony/SubscriptionManager.html#getDefaultSubscriptionId()). To specify subId for MSIM, use[Uri.withAppendedPath(Uri, String)](https://developer.android.com/reference/kotlin/android/net/Uri.html#withAppendedPath(android.net.Uri,%20kotlin.String))to append with subscription id.