CivicLocationKeys


public class CivicLocationKeys
extends Object

java.lang.Object
   ↳ 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

int ADDITIONAL_CODE

Additional Code key e.g. 13203000003.

int APT

Apartment or suite key e.g. Apt 42.

int BOROUGH

Category label A4 key e.g. Westminster.

int BRANCH_ROAD_NAME

Branch Rd Name key e.g. Lane 7.

int BUILDING

Building key e.g. Lincoln Library.

int CITY

Category label A3 key e.g. San Francisco.

int COUNTY

Category label A2 key e.g. Marin.

int DESK

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

int FLOOR

Floor key e.g. 4.

int GROUP_OF_STREETS

Category label A6 key e.g. University District.

int HNO

House Number key e.g. 123.

int HNS

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

int LANGUAGE

Language key e.g. i-default.

int LMK

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

int LOC

Additional Location info key e.g. South Wing.

int NAM

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

int NEIGHBORHOOD

Category label A5 key e.g. Pacific Heights.

int PCN

Postal community name key e.g. Leonia.

int POD

Trailing street suffix key e.g. SW.

int POSTAL_CODE

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

int PO_BOX

Post Office Box key e.g. 12345.

int PRD

Leading Street direction key e.g. N.

int PRIMARY_ROAD_NAME

Primary road name key e.g. Shoreline.

int ROAD_SECTION

Road Section key e.g. 14.

int ROOM

Room key e.g. 450F.

int SCRIPT

Script key e.g. Latn.

int STATE

Category label A1 key e.g. California.

int STREET_NAME_POST_MODIFIER

Postmodifier key e.g. Service.

int STREET_NAME_PRE_MODIFIER

Premodifier key e.g. Old.

int STS

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

int SUBBRANCH_ROAD_NAME

Subbranch Rd Name key e.g. Alley 8.

int TYPE_OF_PLACE

Type of place key e.g. office.

Inherited methods

Constants

ADDITIONAL_CODE

Added in API level 29
public static final int ADDITIONAL_CODE

Additional Code key e.g. 13203000003.

Constant Value: 32 (0x00000020)

APT

Added in API level 29
public static final int APT

Apartment or suite key e.g. Apt 42.

Constant Value: 26 (0x0000001a)

BOROUGH

Added in API level 29
public static final int BOROUGH

Category label A4 key e.g. Westminster.

Constant Value: 4 (0x00000004)

BRANCH_ROAD_NAME

Added in API level 29
public static final int BRANCH_ROAD_NAME

Branch Rd Name key e.g. Lane 7.

Constant Value: 36 (0x00000024)

BUILDING

Added in API level 29
public static final int BUILDING

Building key e.g. Lincoln Library.

Constant Value: 25 (0x00000019)

CITY

Added in API level 29
public static final int CITY

Category label A3 key e.g. San Francisco.

Constant Value: 3 (0x00000003)

COUNTY

Added in API level 29
public static final int COUNTY

Category label A2 key e.g. Marin.

Constant Value: 2 (0x00000002)

DESK

Added in API level 29
public static final int DESK

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

Constant Value: 33 (0x00000021)

FLOOR

Added in API level 29
public static final int FLOOR

Floor key e.g. 4.

Constant Value: 27 (0x0000001b)

GROUP_OF_STREETS

Added in API level 29
public static final int GROUP_OF_STREETS

Category label A6 key e.g. University District.

Constant Value: 6 (0x00000006)

HNO

Added in API level 29
public static final int HNO

House Number key e.g. 123.

Constant Value: 19 (0x00000013)

HNS

Added in API level 29
public static final int HNS

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

Constant Value: 20 (0x00000014)

LANGUAGE

Added in API level 29
public static final int LANGUAGE

Language key e.g. i-default.

Constant Value: 0 (0x00000000)

LMK

Added in API level 29
public static final int LMK

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

Constant Value: 21 (0x00000015)

LOC

Added in API level 29
public static final int LOC

Additional Location info key e.g. South Wing.

Constant Value: 22 (0x00000016)

NAM

Added in API level 29
public static final int NAM

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

Constant Value: 23 (0x00000017)

NEIGHBORHOOD

Added in API level 29
public static final int NEIGHBORHOOD

Category label A5 key e.g. Pacific Heights.

Constant Value: 5 (0x00000005)

PCN

Added in API level 29
public static final int PCN

Postal community name key e.g. Leonia.

Constant Value: 30 (0x0000001e)

POD

Added in API level 29
public static final int POD

Trailing street suffix key e.g. SW.

Constant Value: 17 (0x00000011)

POSTAL_CODE

Added in API level 29
public static final int POSTAL_CODE

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

Constant Value: 24 (0x00000018)

PO_BOX

Added in API level 29
public static final int PO_BOX

Post Office Box key e.g. 12345.

Constant Value: 31 (0x0000001f)

PRD

Added in API level 29
public static final int PRD

Leading Street direction key e.g. N.

Constant Value: 16 (0x00000010)

PRIMARY_ROAD_NAME

Added in API level 29
public static final int PRIMARY_ROAD_NAME

Primary road name key e.g. Shoreline.

Constant Value: 34 (0x00000022)

ROAD_SECTION

Added in API level 29
public static final int ROAD_SECTION

Road Section key e.g. 14.

Constant Value: 35 (0x00000023)

ROOM

Added in API level 29
public static final int ROOM

Room key e.g. 450F.

Constant Value: 28 (0x0000001c)

SCRIPT

Added in API level 29
public static final int SCRIPT

Script key e.g. Latn.

Constant Value: 128 (0x00000080)

STATE

Added in API level 29
public static final int STATE

Category label A1 key e.g. California.

Constant Value: 1 (0x00000001)

STREET_NAME_POST_MODIFIER

Added in API level 29
public static final int STREET_NAME_POST_MODIFIER

Postmodifier key e.g. Service.

Constant Value: 39 (0x00000027)

STREET_NAME_PRE_MODIFIER

Added in API level 29
public static final int STREET_NAME_PRE_MODIFIER

Premodifier key e.g. Old.

Constant Value: 38 (0x00000026)

STS

Added in API level 29
public static final int STS

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

Constant Value: 18 (0x00000012)

SUBBRANCH_ROAD_NAME

Added in API level 29
public static final int SUBBRANCH_ROAD_NAME

Subbranch Rd Name key e.g. Alley 8.

Constant Value: 37 (0x00000025)

TYPE_OF_PLACE

Added in API level 29
public static final int TYPE_OF_PLACE

Type of place key e.g. office.

Constant Value: 29 (0x0000001d)