SearchInterface class abstract
Provides the abstract class for the online and offline search engines.
- Implementers
Constructors
- SearchInterface(TaskHandle searchByTextLambda(TextQuery, SearchOptions, SearchCallback ), TaskHandle searchByAddressLambda(AddressQuery, SearchOptions, SearchCallback ), TaskHandle searchByCategoryLambda(CategoryQuery, SearchOptions, SearchCallback ), TaskHandle searchByCoordinatesLambda(GeoCoordinates, SearchOptions, SearchCallback ), TaskHandle searchByPlaceIdLambda(PlaceIdQuery, LanguageCode?, PlaceIdSearchCallback ), TaskHandle searchByPickedPlaceLambda(PickedPlace, LanguageCode?, PlaceIdSearchCallback ), TaskHandle suggestByTextLambda(TextQuery, SearchOptions, SuggestCallback ))
-
Provides the abstract class for the online and offline
search engines.
factory
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
-
searchByAddress(
AddressQuery query, SearchOptions options, SearchCallback callback) → TaskHandle - Performs an asynchronous address query search for Place instances.
-
searchByCategory(
CategoryQuery query, SearchOptions options, SearchCallback callback) → TaskHandle - Performs an asynchronous category search for Place instances.
-
searchByCoordinates(
GeoCoordinates coordinates, SearchOptions options, SearchCallback callback) → TaskHandle - Performs an asynchronous search for Place instances based on the given geographic coordinates.
-
searchByPickedPlace(
PickedPlace pickedPlace, LanguageCode? languageCode, PlaceIdSearchCallback callback) → TaskHandle - Performs an asynchronous search for a Place based on the content found in PickedPlace.
-
searchByPlaceId(
PlaceIdQuery query, LanguageCode? languageCode, PlaceIdSearchCallback callback) → TaskHandle - Performs an asynchronous search for a Place based on its ID and LanguageCode.
-
searchByText(
TextQuery query, SearchOptions options, SearchCallback callback) → TaskHandle - Performs an asynchronous text query search for Place instances within a given TextQueryArea.
-
suggestByText(
TextQuery query, SearchOptions options, SuggestCallback callback) → TaskHandle - Performs an asynchronous request to suggest places for text queries and returns suggestions sorted by relevance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited