public class AutocompletePrediction
extends java.lang.Object
Please see Query Autocomplete Responses for more detail.
Modifier and Type | Class and Description |
---|---|
static class |
AutocompletePrediction.MatchedSubstring
MatchedSubstring describes the location of the entered term in the prediction result text, so
that the term can be highlighted if desired.
|
static class |
AutocompletePrediction.Term
Term identifies each section of the returned description (a section of the description is
generally terminated with a comma).
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description
Description of the matched prediction.
|
AutocompletePrediction.MatchedSubstring[] |
matchedSubstrings |
java.lang.String |
placeId
The Place ID of the place.
|
AutocompletePrediction.Term[] |
terms
terms contains an array of terms identifying each section of the returned description (a
section of the description is generally terminated with a comma).
|
java.lang.String[] |
types
types is an array indicating the type of the address component.
|
Constructor and Description |
---|
AutocompletePrediction() |
public java.lang.String description
public java.lang.String placeId
public java.lang.String[] types
Please see supported types for a list of types that can be returned.
public AutocompletePrediction.Term[] terms
public AutocompletePrediction.MatchedSubstring[] matchedSubstrings