retrieve
Function to retrieve the details for a given mapboxId. The callback will be invoked with a SearchResult on successful execution. This method is only supported for a SearchEngine with ApiType.SEARCH_BOX or ApiType.SBS.
Return
AsyncOperationTask object representing pending completion of the request
Parameters
for the item to retrieve details for
Executor used for events dispatching, default is the main thread
used to receive the SearchResult on successful execution
Throws
when invoked for any ApiType except ApiType.SEARCH_BOX or ApiType.SBS
Function to retrieve the details for a given mapboxId that dispatches events using the main executor. The callback will be invoked with a SearchResult on successful execution.
Note that this method is only supported for a SearchEngine with ApiType.SEARCH_BOX or ApiType.SBS.
Return
AsyncOperationTask object representing pending completion of the request
Parameters
for the item to retrieve details for
used to receive the SearchResult on successful execution