TomTomSDKSearchOffline
The following declarations are provided by module TomTomSDKSearchOffline.
-
The Offline Search API provides several types of search using an offline map.
Refrain from using this class directly. Use
See moreOfflineSearchFactoryto create instances ofOfflineSearch.Declaration
Swift
@available(*, deprecated, message: " This will be removed from future releases after 2026-07-15.\n Use OfflineSearchFactory to create instances of OfflineSearch.") public final class OfflineSearch : Search
-
Errors that may occur while doing offline search.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum OfflineSearchError : Error, Equatableextension OfflineSearchError: LocalizedError -
Factory for accessing the implementations for the Offline Search APIs provided via the
Searchprotocol. 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 theSearchdocumentation.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum OfflineSearchFactory
TomTom SDK for iOS (0.73.0-rc04)
TomTomSDKSearchOffline