public class LocationMatch extends Object implements Parcelable
SearchManager
Modifier and Type | Class and Description |
---|---|
static class |
LocationMatch.Address
Location address.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<LocationMatch> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
LocationMatch.Address |
getAddress()
Gets the structured address.
|
String |
getFormattedAddress()
Get formatted address.
|
String |
getLocationName()
Get the name of the location.
|
String |
getPlaceId()
Gets the place unique identifier.
|
GeoPoint |
getPoint()
Get the
GeoPoint of the location. |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<LocationMatch> CREATOR
public String getPlaceId()
null
if place ID is not available.public String getLocationName()
public String getFormattedAddress()
public LocationMatch.Address getAddress()
null
if address is not available.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.