From b4bef0f75d7e87913b7e673f4bcd806a817fb06a Mon Sep 17 00:00:00 2001 From: Mike Ringrose Date: Mon, 23 Sep 2024 09:58:32 -0400 Subject: [PATCH] docs(offline): fixing a copy and paste issue with the documentation (#286) --- .../java/com/mapbox/search/offline/OfflineSearchEngine.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MapboxSearch/offline/src/main/java/com/mapbox/search/offline/OfflineSearchEngine.kt b/MapboxSearch/offline/src/main/java/com/mapbox/search/offline/OfflineSearchEngine.kt index fb3204ade..c263ac6c0 100644 --- a/MapboxSearch/offline/src/main/java/com/mapbox/search/offline/OfflineSearchEngine.kt +++ b/MapboxSearch/offline/src/main/java/com/mapbox/search/offline/OfflineSearchEngine.kt @@ -248,10 +248,11 @@ public interface OfflineSearchEngine { ) /** - * Function to retrieve the details for a given mapboxId. The callback will be invoked with - * a [OfflineSearchResult] on successful execution. + * Function to retrieve the details for a given map feature. The callback will be invoked with + * a [OfflineSearchResult] on successful execution. An example usage would be resolving a + * location when a user clicks on a map in "offline" mode. * - * @param mapboxId for the item to retrieve details for + * @param feature [Feature] to retrieve details for * @param executor [Executor] used for events dispatching, default is the main thread * @param callback used to receive the [OfflineSearchResult] on successful execution * @return [AsyncOperationTask] object representing pending completion of the request