attach abstract method
- MyPlaces dataSource,
- OnTaskCompleted callback
Attach data source into SearchEngine instance.
Places from MyPlaces ranked the same way as places from default source. New data source replaces old one. Note: Only OfflineSearchEngine supports search over MyPlaces.
-
dataSourceThe data source. -
callbackThe callback to be called when task is completed.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task.
Implementation
TaskHandle attach(MyPlaces dataSource, OnTaskCompleted callback);