NdsStoreUpdater

Implementation of an NDS data store updater.

An object of this class provides write access to the NDS map data with ability to enabling automatic map updates, managing map regions and querying map structures.

Note: For the same NdsStore only one instance of the NdsStoreUpdater class should be created.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val ndsMapPath: File

Functions

Link copied to clipboard

Activates or deactivates automatic updates.

Link copied to clipboard

Adds listener that is called when an automatic update fails due to an irrecoverable error.

Link copied to clipboard

Add a listener for information about when the map update server is checked for new updates.

Link copied to clipboard

Add a listener for information about the region graph and state of the map.

Link copied to clipboard

Calculates the uninstallation size of the specified regions.

Link copied to clipboard

Requests cancellation of all operations scheduled with scheduleMapOperations for the specified updatable regions.

Link copied to clipboard
open override fun close()
Link copied to clipboard

Finds the updatable regions along a polyline within a half-corridor width radius.

Link copied to clipboard

Finds the updatable regions within radius of position.

Link copied to clipboard

Removes previously registered listener.

Link copied to clipboard

Removes the given listener.

Link copied to clipboard

Schedules the given operations to be performed on the onboard map.

Link copied to clipboard
fun setUpdatesEnabled(updatesEnabled: Boolean)

Enables or disables map updates.

Link copied to clipboard
open override fun updateActiveRoute(polyline: List<GeoPoint>)

Sets the active route.

Link copied to clipboard
open override fun updatePosition(position: GeoPoint)

Sets current position.