TomTomSDKSearchOffline
-
Errors that may occur while doing offline search.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum OfflineSearchError : Error
extension OfflineSearchError: LocalizedError
-
Factory for accessing the implementations for the Offline Search APIs provided via the
Search
protocol. The Offline Search API allows developers to search using an offline map.An example usage:
// Create and store an Offline Search instance self.search = try OfflineSearchFactory.create(store: store) // so later it's possible to search using it. let options = SearchOptions(query: "pizza") search.search(options) { result in /* Here you do processing */ }
Note
for more details, see theSearch
documentation.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum OfflineSearchFactory
-
Declaration
Swift
extension MapAccessManagedOfflineSearch: OnStoreAccessChangedObserver