TomTomSDKSearchOffline

OfflineSearch

  • The Offline Search API provides several types of search using an offline map.

    See more

    Declaration

    Swift

    public final class OfflineSearch : Search

OfflineSearchError

  • Errors that may occur while doing offline search.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    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 the Search documentation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum OfflineSearchFactory

OnStoreAccessChangedObserver