# CivicLocationKeys

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

# CivicLocationKeys

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys "View this page in Java")  

```
open class CivicLocationKeys
```

|---|----------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                   ||
| ↳ | [android.net.wifi.rtt.CivicLocationKeys](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#) |

Civic Address key types used to define address elements.

These keys can be used with`ResponderLocation.toCivicLocationSparseArray()`to look-up the corresponding string values.

## Summary

|                                                                                                                           Constants                                                                                                                           ||
|----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ADDITIONAL_CODE](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#ADDITIONAL_CODE:kotlin.Int) Additional Code key e.                  |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [APT](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#APT:kotlin.Int) Apartment or suite key e.                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [BOROUGH](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#BOROUGH:kotlin.Int) Category label A4 key e.                                |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [BRANCH_ROAD_NAME](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#BRANCH_ROAD_NAME:kotlin.Int) Branch Rd Name key e.                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [BUILDING](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#BUILDING:kotlin.Int) Building key e.                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CITY](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#CITY:kotlin.Int) Category label A3 key e.                                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [COUNTY](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#COUNTY:kotlin.Int) Category label A2 key e.                                  |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DESK](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#DESK:kotlin.Int) Seat, desk, pole, or cubical key e.                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [FLOOR](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#FLOOR:kotlin.Int) Floor key e.                                                |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [GROUP_OF_STREETS](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#GROUP_OF_STREETS:kotlin.Int) Category label A6 key e.              |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [HNO](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#HNO:kotlin.Int) House Number key e.                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [HNS](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#HNS:kotlin.Int) House number suffix key e.                                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LANGUAGE](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#LANGUAGE:kotlin.Int) Language key e.                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LMK](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#LMK:kotlin.Int) Landmark or vanity address key e.                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LOC](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#LOC:kotlin.Int) Additional Location info key e.                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [NAM](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#NAM:kotlin.Int) Name of residence key e.                                        |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [NEIGHBORHOOD](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#NEIGHBORHOOD:kotlin.Int) Category label A5 key e.                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PCN](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#PCN:kotlin.Int) Postal community name key e.                                    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [POD](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#POD:kotlin.Int) Trailing street suffix key e.                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [POSTAL_CODE](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#POSTAL_CODE:kotlin.Int) Postal or ZIP code key e.                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PO_BOX](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#PO_BOX:kotlin.Int) Post Office Box key e.                                    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PRD](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#PRD:kotlin.Int) Leading Street direction key e.                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PRIMARY_ROAD_NAME](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#PRIMARY_ROAD_NAME:kotlin.Int) Primary road name key e.            |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ROAD_SECTION](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#ROAD_SECTION:kotlin.Int) Road Section key e.                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ROOM](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#ROOM:kotlin.Int) Room key e.                                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SCRIPT](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#SCRIPT:kotlin.Int) Script key e.                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STATE](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#STATE:kotlin.Int) Category label A1 key e.                                    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STREET_NAME_POST_MODIFIER](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#STREET_NAME_POST_MODIFIER:kotlin.Int) Postmodifier key e. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STREET_NAME_PRE_MODIFIER](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#STREET_NAME_PRE_MODIFIER:kotlin.Int) Premodifier key e.    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STS](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#STS:kotlin.Int) Street suffix or Type key e.                                    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SUBBRANCH_ROAD_NAME](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#SUBBRANCH_ROAD_NAME:kotlin.Int) Subbranch Rd Name key e.        |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_OF_PLACE](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/CivicLocationKeys#TYPE_OF_PLACE:kotlin.Int) Type of place key e.                        |

## Constants

### ADDITIONAL_CODE

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

```
static val ADDITIONAL_CODE: Int
```

Additional Code key e.g. 13203000003.  

    Value: 32

### APT

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

```
static val APT: Int
```

Apartment or suite key e.g. Apt 42.  

    Value: 26

### BOROUGH

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

```
static val BOROUGH: Int
```

Category label A4 key e.g. Westminster.  

    Value: 4

### BRANCH_ROAD_NAME

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

```
static val BRANCH_ROAD_NAME: Int
```

Branch Rd Name key e.g. Lane 7.  

    Value: 36

### BUILDING

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

```
static val BUILDING: Int
```

Building key e.g. Lincoln Library.  

    Value: 25

### CITY

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

```
static val CITY: Int
```

Category label A3 key e.g. San Francisco.  

    Value: 3

### COUNTY

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

```
static val COUNTY: Int
```

Category label A2 key e.g. Marin.  

    Value: 2

### DESK

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

```
static val DESK: Int
```

Seat, desk, pole, or cubical key e.g. WS 181.  

    Value: 33

### FLOOR

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

```
static val FLOOR: Int
```

Floor key e.g. 4.  

    Value: 27

### GROUP_OF_STREETS

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

```
static val GROUP_OF_STREETS: Int
```

Category label A6 key e.g. University District.  

    Value: 6

### HNO

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

```
static val HNO: Int
```

House Number key e.g. 123.  

    Value: 19

### HNS

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

```
static val HNS: Int
```

House number suffix key e.g. A, 1/2.  

    Value: 20

### LANGUAGE

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

```
static val LANGUAGE: Int
```

Language key e.g. i-default.  

    Value: 0

### LMK

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

```
static val LMK: Int
```

Landmark or vanity address key e.g. Golden Gate Bridge.  

    Value: 21

### LOC

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

```
static val LOC: Int
```

Additional Location info key e.g. South Wing.  

    Value: 22

### NAM

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

```
static val NAM: Int
```

Name of residence key e.g. Joe's Barbershop.  

    Value: 23

### NEIGHBORHOOD

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

```
static val NEIGHBORHOOD: Int
```

Category label A5 key e.g. Pacific Heights.  

    Value: 5

### PCN

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

```
static val PCN: Int
```

Postal community name key e.g. Leonia.  

    Value: 30

### POD

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

```
static val POD: Int
```

Trailing street suffix key e.g. SW.  

    Value: 17

### POSTAL_CODE

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

```
static val POSTAL_CODE: Int
```

Postal or ZIP code key e.g. 10027-1234.  

    Value: 24

### PO_BOX

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

```
static val PO_BOX: Int
```

Post Office Box key e.g. 12345.  

    Value: 31

### PRD

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

```
static val PRD: Int
```

Leading Street direction key e.g. N.  

    Value: 16

### PRIMARY_ROAD_NAME

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

```
static val PRIMARY_ROAD_NAME: Int
```

Primary road name key e.g. Shoreline.  

    Value: 34

### ROAD_SECTION

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

```
static val ROAD_SECTION: Int
```

Road Section key e.g. 14.  

    Value: 35

### ROOM

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

```
static val ROOM: Int
```

Room key e.g. 450F.  

    Value: 28

### SCRIPT

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

```
static val SCRIPT: Int
```

Script key e.g. Latn.  

    Value: 128

### STATE

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

```
static val STATE: Int
```

Category label A1 key e.g. California.  

    Value: 1

### STREET_NAME_POST_MODIFIER

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

```
static val STREET_NAME_POST_MODIFIER: Int
```

Postmodifier key e.g. Service.  

    Value: 39

### STREET_NAME_PRE_MODIFIER

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

```
static val STREET_NAME_PRE_MODIFIER: Int
```

Premodifier key e.g. Old.  

    Value: 38

### STS

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

```
static val STS: Int
```

Street suffix or Type key e.g Ave, Platz.  

    Value: 18

### SUBBRANCH_ROAD_NAME

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

```
static val SUBBRANCH_ROAD_NAME: Int
```

Subbranch Rd Name key e.g. Alley 8.  

    Value: 37

### TYPE_OF_PLACE

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

```
static val TYPE_OF_PLACE: Int
```

Type of place key e.g. office.  

    Value: 29