Protocols

The following protocols are available globally.

  • This protocol abstracts away access to and operations with an onboard map database.

    Important

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

    Declaration

    Swift

    public protocol MapDataStore : PositionUpdateObserver
  • Container that holds a handle (raw pointer) to the map instance. Note: - for use inside SDK only. Important: This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol MapDataStoreAccess
  • Describe an interface of the synchronized access to onboard map data.

    Important

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

    Declaration

    Swift

    public protocol MapDataStoreAccessSyncing

AutomaticMapUpdateFailureObserver

  • Listening protocol for an automatic update fails due to an irrecoverable error.

    Important

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

    Declaration

    Swift

    public protocol AutomaticMapUpdateFailureObserver : Observer
  • Protocol for observers used in MapStructureProvider.

    Important

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

    Declaration

    Swift

    public protocol MapStructureObserver : Observer
  • Provides the methods to observe the onboard map structure.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated. It will soon become unavailable and should no longer be used.")
    public protocol MapStructureProvider : AnyObject
  • Important

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

    Declaration

    Swift

    public protocol MapUpdateObserver : Observer

OnStoreAccessChangedObserver

  • Interface for components that rely on the onboard map. It is used to synchronise access/unavailability states for map files.

    It is expected that every user which reads or modifies the map implements this interface and register itself for notification in the NDSStoreAccessSync.

    Important

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

    Declaration

    Swift

    public protocol OnStoreAccessChangedObserver : Observer