GuidedAddressSearchService class abstract Places

Service for guided, hierarchical address searches.

Provides static entry points to perform level-aware address queries (from country down to house number or crossings), search for countries, retrieve country-level landmarks to use as parents, and cancel in-flight searches. Results are delivered asynchronously via callback functions.

The address hierarchy is country-dependent; use getNextAddressDetailLevel to obtain the next searchable levels for a given Landmark.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

preferences → GuidedAddressSearchPreferences
Access session preferences for guided address search.
no setter
transferStatistics → TransferStatistics
Transfer statistics for guided address search operations.
no setter

Static Methods

cancelSearch(TaskHandler taskHandler) → void
Cancel an active address search.
getAddressDetailLevel(Landmark landmark) → AddressDetailLevel
Get the address detail level associated with a Landmark.
getCountryLevelItem(String countryIsoCode) → Landmark?
Get the country-level Landmark for a given ISO country code.
getNextAddressDetailLevel(Landmark landmark) → List<AddressDetailLevel>
Get next possible address detail levels for a Landmark.
Search for address items under a specified parent landmark.
searchCountries(String filter, void onComplete(GemError err, List<Landmark> landmarks)) → TaskHandler?
Search for countries by name.