TomTomSDKSearchOffline
-
The Offline Search API provides several types of search using an offline map.
See moreDeclaration
Swift
@available(*, deprecated, message: " This API is deprecated and will be removed with the next major release.\n Please use OfflineSearchFactory.create(﹚ instead.") public final class OfflineSearch : Search
-
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: StoreAccessChangedObserver