public class AutocompleteMatch extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
AutocompleteMatch.MatchedString
Class representing a matched string in the
AutocompleteMatch . |
static class |
AutocompleteMatch.Term
A
Term represents a section of the returned description and is usually terminated
with a comma. |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<AutocompleteMatch> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getDescription()
Get the description of the match.
|
List<AutocompleteMatch.MatchedString> |
getMatchedStrings()
Get a list of matched strings.
|
String |
getPlaceId()
Gets the place unique identifier.
|
List<AutocompleteMatch.Term> |
getTerms()
Get a list of terms identifying each section in the description.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<AutocompleteMatch> CREATOR
public String getPlaceId()
null
if place ID is not available.public String getDescription()
public List<AutocompleteMatch.MatchedString> getMatchedStrings()
public List<AutocompleteMatch.Term> getTerms()
AutocompleteMatch.getDescription()
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.