Builder

class Builder

Builder for NdsStoreUpdateConfiguration. Use with NdsStoreConfiguration.buildUpdateConfiguration to customize the update configuration when creating an instance of NdsStore.

Example usage:

val ndsStore = NdsStore(
ndsStorePath = File("ndsStore_path"),
apiKey = "myApiKey",
context = context,
) {
updateConfiguration = buildUpdateConfiguration { // NdsStoreUpdateConfiguration.Builder.() -> Unit
mapDiskUsageQuota = Memory.gibibytes(50)
}
}

Properties

Link copied to clipboard

The locale whose language will be used for names of map regions. Default to the user's preferred locale.

Link copied to clipboard
Link copied to clipboard

The maximum disk space to use by the NDS map. Default to null (unlimited).

Link copied to clipboard

The path to the persistent directory for map updates.

Link copied to clipboard
var serviceUri: Uri

The URI of the service to download updates from. Default to DEFAULT_SERVICE_URI.

Link copied to clipboard

The local path to the update packages directory.