DataStoreMaintenanceEngine
public protocol DataStoreMaintenanceEngine : ManageableEngine
An engine that handles the maintenance of the navigation data store.
The DataStoreMaintenanceEngine
protocol defines methods for maintaining the data store used in navigation.
It ensures that the data store remains current and accurate based on the latest navigation state, which includes
the position, route, and other relevant information.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Maintains the data store using current navigation state.
Updates the data store based on the provided navigation snapshot. The snapshot contains the current navigation state, such as:
- the position,
route, and other relevant information.
Declaration
Swift
func maintain(navigationSnapshot: NavigationSnapshot)
Parameters
navigationSnapshot
A snapshot used to obtain current navigation state.