Package com.tomtom.sdk.datamanagement.nds

Types

Link copied to clipboard
fun interface AccessReleasedCallback

Functor called by the client to signal it has stopped using the map.

Link copied to clipboard
class InvalidListenerError(message: String) : Exception

Exception that's thrown when an invalid observer is passed as a parameter to any of the orchestrator's functions.

Link copied to clipboard
class MapIsNotAccessibleError : NdsStoreError

The error returned when onboard map files are unavailable.

Link copied to clipboard
class NdsStore : DataStore, Disposable

Implementation of a DataStore which is based on an onboard NDS map.

Link copied to clipboard
class NdsStoreAccess : StoreAccess, Disposable

Provides access to an NDS map instance.

Link copied to clipboard
class NDSStoreAccessor(    storeAccessChangedListenerId: String,     initialize: () -> Unit = {},     deinitialize: () -> Unit = {},     cancelRequest: () -> Unit = {}) : OnStoreAccessChangedListener

Takes care of access to a DataStore.

Link copied to clipboard
class NdsStoreAccessSync : Disposable

Synchronizes access to an onboard NDS map.

Link copied to clipboard
class NdsStoreConfiguration(    val ndsStorePath: File,     val keystorePath: File? = null,     val keystorePassword: String? = null,     val ndsStoreUpdateConfig: NdsStoreUpdateConfig)

Configuration parameters for an NdsStore.

Link copied to clipboard
open class NdsStoreError

Represents an error raised when something goes wrong in the data store.

Link copied to clipboard
data class NdsStoreUpdateConfig(    val updateStoragePath: File,     val persistentStoragePath: File,     val updateServerUri: Uri? = null,     val updateServerApiKey: String? = null,     val iqMapsAllRegionsEnabled: Boolean = false,     val iqMapsRelevantRegionsEnabled: Boolean = false,     val iqMapsRelevantRegionsRadius: Distance = Distance.ofMeters(0),     val iqMapsRelevantRegionsUpdateInterval: Duration = Duration.ZERO,     val iqMapsRegionsAlongRouteEnabled: Boolean = false,     val iqMapsRegionsAlongRouteRadius: Distance = Distance.ofMeters(0))

Configuration of updates of the NdsStore.

Link copied to clipboard
interface OnStoreAccessChangedListener

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

Link copied to clipboard
value class UpdateErrorCode

Errors that can be reported when the NdsStore is updated.