public class LocationMatchInrix extends LocationMatch
Modifier and Type | Class and Description |
---|---|
static class |
LocationMatchInrix.AddressComponent
Location addressComponents.
|
static class |
LocationMatchInrix.GeoLocation |
static class |
LocationMatchInrix.Geometry
Class representing POI data contained within the location match result.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<LocationMatchInrix> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getAddressComponent(String key,
boolean longName) |
LocationMatchInrix.AddressComponent[] |
getAddressComponents()
Gets the structured addressComponents.
|
String |
getCity()
Gets the city name from addressComponents.
|
String |
getCountry()
Gets the country name from addressComponents.
|
String |
getCountryCode()
Gets the country code from addressComponents.
|
String |
getFormattedAddress()
Get formatted addressComponents.
|
GeoPoint |
getLocation()
Get the
GeoPoint of the location. |
String |
getLocationName()
Get the name of the location.
|
String |
getPlaceId()
Gets the place unique identifier.
|
String |
getPostalCode()
Gets the postal code from addressComponents.
|
String |
getPremiseName()
Gets the premise name.
|
String |
getRouteName()
Gets the route name from addressComponents.
|
String |
getState()
Gets the state name from addressComponents.
|
String |
getStateCode()
Gets the state code from addressComponents.
|
String |
getStreetNumber()
Gets the street number from addressComponents.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<LocationMatchInrix> CREATOR
@Nullable public String getPlaceId()
getPlaceId
in class LocationMatch
null
if place ID is not available.@Nullable public String getPremiseName()
getPremiseName
in class LocationMatch
null
if premise is not available.@Nullable public String getLocationName()
getLocationName
in class LocationMatch
@Nullable public GeoPoint getLocation()
GeoPoint
of the location.getLocation
in class LocationMatch
@Nullable public String getFormattedAddress()
getFormattedAddress
in class LocationMatch
@Nullable public LocationMatchInrix.AddressComponent[] getAddressComponents()
null
if addressComponents is not available.public String getCountryCode()
getCountryCode
in class LocationMatch
public String getStateCode()
getStateCode
in class LocationMatch
public String getStreetNumber()
getStreetNumber
in class LocationMatch
public String getRouteName()
getRouteName
in class LocationMatch
public String getPostalCode()
getPostalCode
in class LocationMatch
public String getCountry()
getCountry
in class LocationMatch
public String getState()
getState
in class LocationMatch
public String getCity()
getCity
in class LocationMatch
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.