# CivicLocationKeys

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#constants)\|[Inherited Methods](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#inhmethods)  

# CivicLocationKeys

*** ** * ** ***

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

`
public


class
CivicLocationKeys
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|----------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.net.wifi.rtt.CivicLocationKeys |

<br />

*** ** * ** ***

Civic Address key types used to define address elements.

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

<br />

## Summary

|                                                                                ### Constants                                                                                ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [ADDITIONAL_CODE](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#ADDITIONAL_CODE) Additional Code key e.g. 13203000003.              |
| `int` | [APT](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#APT) Apartment or suite key e.g. Apt 42.                                        |
| `int` | [BOROUGH](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#BOROUGH) Category label A4 key e.g. Westminster.                            |
| `int` | [BRANCH_ROAD_NAME](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#BRANCH_ROAD_NAME) Branch Rd Name key e.g. Lane 7.                  |
| `int` | [BUILDING](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#BUILDING) Building key e.g. Lincoln Library.                               |
| `int` | [CITY](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#CITY) Category label A3 key e.g. San Francisco.                                |
| `int` | [COUNTY](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#COUNTY) Category label A2 key e.g. Marin.                                    |
| `int` | [DESK](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#DESK) Seat, desk, pole, or cubical key e.g. WS 181.                            |
| `int` | [FLOOR](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#FLOOR) Floor key e.g. 4.                                                      |
| `int` | [GROUP_OF_STREETS](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#GROUP_OF_STREETS) Category label A6 key e.g. University District.  |
| `int` | [HNO](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#HNO) House Number key e.g. 123.                                                 |
| `int` | [HNS](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#HNS) House number suffix key e.g. A, 1/2.                                       |
| `int` | [LANGUAGE](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#LANGUAGE) Language key e.g. i-default.                                     |
| `int` | [LMK](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#LMK) Landmark or vanity address key e.g. Golden Gate Bridge.                    |
| `int` | [LOC](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#LOC) Additional Location info key e.g. South Wing.                              |
| `int` | [NAM](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#NAM) Name of residence key e.g. Joe's Barbershop.                               |
| `int` | [NEIGHBORHOOD](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#NEIGHBORHOOD) Category label A5 key e.g. Pacific Heights.              |
| `int` | [PCN](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#PCN) Postal community name key e.g. Leonia.                                     |
| `int` | [POD](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#POD) Trailing street suffix key e.g. SW.                                        |
| `int` | [POSTAL_CODE](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#POSTAL_CODE) Postal or ZIP code key e.g. 10027-1234.                    |
| `int` | [PO_BOX](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#PO_BOX) Post Office Box key e.g. 12345.                                      |
| `int` | [PRD](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#PRD) Leading Street direction key e.g. N.                                       |
| `int` | [PRIMARY_ROAD_NAME](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#PRIMARY_ROAD_NAME) Primary road name key e.g. Shoreline.          |
| `int` | [ROAD_SECTION](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#ROAD_SECTION) Road Section key e.g. 14.                                |
| `int` | [ROOM](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#ROOM) Room key e.g. 450F.                                                      |
| `int` | [SCRIPT](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#SCRIPT) Script key e.g. Latn.                                                |
| `int` | [STATE](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#STATE) Category label A1 key e.g. California.                                 |
| `int` | [STREET_NAME_POST_MODIFIER](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#STREET_NAME_POST_MODIFIER) Postmodifier key e.g. Service. |
| `int` | [STREET_NAME_PRE_MODIFIER](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#STREET_NAME_PRE_MODIFIER) Premodifier key e.g. Old.        |
| `int` | [STS](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#STS) Street suffix or Type key e.g Ave, Platz.                                  |
| `int` | [SUBBRANCH_ROAD_NAME](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#SUBBRANCH_ROAD_NAME) Subbranch Rd Name key e.g. Alley 8.        |
| `int` | [TYPE_OF_PLACE](https://developer.android.com/reference/android/net/wifi/rtt/CivicLocationKeys#TYPE_OF_PLACE) Type of place key e.g. office.                         |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Constants

### ADDITIONAL_CODE

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

```
public static final int ADDITIONAL_CODE
```

Additional Code key e.g. 13203000003.

<br />

Constant Value: 32 (0x00000020)  

### APT

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

```
public static final int APT
```

Apartment or suite key e.g. Apt 42.

<br />

Constant Value: 26 (0x0000001a)  

### BOROUGH

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

```
public static final int BOROUGH
```

Category label A4 key e.g. Westminster.

<br />

Constant Value: 4 (0x00000004)  

### BRANCH_ROAD_NAME

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

```
public static final int BRANCH_ROAD_NAME
```

Branch Rd Name key e.g. Lane 7.

<br />

Constant Value: 36 (0x00000024)  

### BUILDING

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

```
public static final int BUILDING
```

Building key e.g. Lincoln Library.

<br />

Constant Value: 25 (0x00000019)  

### CITY

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

```
public static final int CITY
```

Category label A3 key e.g. San Francisco.

<br />

Constant Value: 3 (0x00000003)  

### COUNTY

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

```
public static final int COUNTY
```

Category label A2 key e.g. Marin.

<br />

Constant Value: 2 (0x00000002)  

### DESK

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

```
public static final int DESK
```

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

<br />

Constant Value: 33 (0x00000021)  

### FLOOR

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

```
public static final int FLOOR
```

Floor key e.g. 4.

<br />

Constant Value: 27 (0x0000001b)  

### GROUP_OF_STREETS

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

```
public static final int GROUP_OF_STREETS
```

Category label A6 key e.g. University District.

<br />

Constant Value: 6 (0x00000006)  

### HNO

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

```
public static final int HNO
```

House Number key e.g. 123.

<br />

Constant Value: 19 (0x00000013)  

### HNS

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

```
public static final int HNS
```

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

<br />

Constant Value: 20 (0x00000014)  

### LANGUAGE

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

```
public static final int LANGUAGE
```

Language key e.g. i-default.

<br />

Constant Value: 0 (0x00000000)  

### LMK

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

```
public static final int LMK
```

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

<br />

Constant Value: 21 (0x00000015)  

### LOC

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

```
public static final int LOC
```

Additional Location info key e.g. South Wing.

<br />

Constant Value: 22 (0x00000016)  

### NAM

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

```
public static final int NAM
```

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

<br />

Constant Value: 23 (0x00000017)  

### NEIGHBORHOOD

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

```
public static final int NEIGHBORHOOD
```

Category label A5 key e.g. Pacific Heights.

<br />

Constant Value: 5 (0x00000005)  

### PCN

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

```
public static final int PCN
```

Postal community name key e.g. Leonia.

<br />

Constant Value: 30 (0x0000001e)  

### POD

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

```
public static final int POD
```

Trailing street suffix key e.g. SW.

<br />

Constant Value: 17 (0x00000011)  

### POSTAL_CODE

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

```
public static final int POSTAL_CODE
```

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

<br />

Constant Value: 24 (0x00000018)  

### PO_BOX

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

```
public static final int PO_BOX
```

Post Office Box key e.g. 12345.

<br />

Constant Value: 31 (0x0000001f)  

### PRD

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

```
public static final int PRD
```

Leading Street direction key e.g. N.

<br />

Constant Value: 16 (0x00000010)  

### PRIMARY_ROAD_NAME

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

```
public static final int PRIMARY_ROAD_NAME
```

Primary road name key e.g. Shoreline.

<br />

Constant Value: 34 (0x00000022)  

### ROAD_SECTION

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

```
public static final int ROAD_SECTION
```

Road Section key e.g. 14.

<br />

Constant Value: 35 (0x00000023)  

### ROOM

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

```
public static final int ROOM
```

Room key e.g. 450F.

<br />

Constant Value: 28 (0x0000001c)  

### SCRIPT

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

```
public static final int SCRIPT
```

Script key e.g. Latn.

<br />

Constant Value: 128 (0x00000080)  

### STATE

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

```
public static final int STATE
```

Category label A1 key e.g. California.

<br />

Constant Value: 1 (0x00000001)  

### STREET_NAME_POST_MODIFIER

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

```
public static final int STREET_NAME_POST_MODIFIER
```

Postmodifier key e.g. Service.

<br />

Constant Value: 39 (0x00000027)  

### STREET_NAME_PRE_MODIFIER

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

```
public static final int STREET_NAME_PRE_MODIFIER
```

Premodifier key e.g. Old.

<br />

Constant Value: 38 (0x00000026)  

### STS

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

```
public static final int STS
```

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

<br />

Constant Value: 18 (0x00000012)  

### SUBBRANCH_ROAD_NAME

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

```
public static final int SUBBRANCH_ROAD_NAME
```

Subbranch Rd Name key e.g. Alley 8.

<br />

Constant Value: 37 (0x00000025)  

### TYPE_OF_PLACE

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

```
public static final int TYPE_OF_PLACE
```

Type of place key e.g. office.

<br />

Constant Value: 29 (0x0000001d)