create

fun create(    context: Context,     ndsStorePath: File,     keystorePath: File?,     keystorePassword: String? = null,     ndsStoreUpdateConfig: NdsStoreUpdateConfig): Result<NdsStore, NdsStoreError>

Creates an instance of NdsStore.

Parameters

context

Android context

ndsStorePath

Path to nds store. The directory must be accessible and writable.

keystorePath

Path to keystore. If the map is encrypted, the keystore is required.

keystorePassword

Keystore password. If the keystore is encrypted, the password is required.

ndsStoreUpdateConfig

Additional parameters to configure map updates.