OnStoreAccessChangedListener

interface OnStoreAccessChangedListener

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.

Functions

Link copied to clipboard
abstract fun onReadOnlyAccessGranted(mapChanged: Boolean)

Notification that read-only (shared) access to the map files was granted to the user.

Link copied to clipboard
abstract fun onReadOnlyAccessReleaseRequested(accessReleased: AccessReleasedCallback)

Notification that read-only access to the map is being revoked (usually because the map needs to be updated or otherwise modified).

Properties

Link copied to clipboard
abstract val onStoreAccessChangedListenerId: String

A string that can be used to identify the listener.