This interface is deprecated.
The Google Play Services Places SDK is deprecated. A new SDK is available.
See the client
migration guide for more information.
Represents a query's suggestions and its attributes, like matched substrings. For more information about place autocomplete, see the developer's guide.
| abstract CharSequence | |
| abstract String |
getPlaceId()
Returns the place ID of the place being referred to by this prediction.
|
| abstract List<Integer> |
getPlaceTypes()
Returns the list of place types associated with the place referred to by
getPlaceId().
|
| abstract CharSequence | |
| abstract CharSequence |
The full text of a place. This is a combination of the primary text and the secondary text.
Example: "Eiffel Tower, Avenue Anatole France, Paris, France"
If you do not wish to highlight matches, you can pass null.
Returns the place ID of the place being referred to by this prediction. For more information on place IDs, see the place ID overview.
Returns the list of place types associated with the place referred to by
getPlaceId(). For more information on place types, see the place types overview.
The primary text of a place. This will usually be the name of the place.
Example: "Eiffel Tower", "123 Pitt Street"
See
getFullText(CharacterStyle) for more information on formatting.
The secondary text of a place. This provides extra context on the place, and can be used as a second line when showing autocomplete predictions.
Example: "Avenue Anatole France, Paris, France", "Sydney, New South Wales"
See
getFullText(CharacterStyle) for more information on formatting.