searchByPlaceId method - SearchInterface class - search library - Dart API
searchByPlaceId
searchByPlaceId abstract method
- PlaceIdQuery query,
- LanguageCode? languageCode,
- PlaceIdSearchCallback callback
Performs an asynchronous search for a Place based on its ID and LanguageCode.
-
queryThe id of place to search. -
languageCodeThe preferred language for the search results. When unset or unsupported language is chosen, results will be returned in their local language. -
callbackCallback which receives the result on the main thread.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task.
Implementation
TaskHandle searchByPlaceId(PlaceIdQuery query, LanguageCode? languageCode, PlaceIdSearchCallback callback);