searchByPlaceIdWithLanguageCodeExtended method - SearchEngine class - search library - Dart API
searchByPlaceIdWithLanguageCodeExtended
searchByPlaceIdWithLanguageCodeExtended abstract method
- PlaceIdQuery query,
- LanguageCode? languageCode,
- PlaceIdSearchCallbackExtended callback
Performs an asynchronous request to 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 searchByPlaceIdWithLanguageCodeExtended(PlaceIdQuery query, LanguageCode? languageCode, PlaceIdSearchCallbackExtended callback);