create

fun create(context: Context, ndsStore: NdsStore, configuration: NdsStoreUpdaterConfiguration): Result<NdsStoreUpdater, MapUpdateError>

Creates an instance of NdsStoreUpdater.

Parameters

context

Android context.

ndsStore

NdsStore instance.

configuration

The configuration for the updates of the NDS store.

Note: If there is already a NdsStoreUpdater instance based on the same NdsStore and the instance is not closed yet, this method will fail with MapUpdateError.InitFailed.