Builder

class Builder

Builder for RegionStoreConfiguration.

Parameters

context

The application context.

apiKey

Your TomTom API key.

geopoliticalView

The country code in the ISO 3166-1 alpha-3 format whose view on disputed areas should be used. Defaults to DEFAULT_GEOPOLITICAL_VIEW which is the unified international geopolitical view. It will also be used if the provided geopolitical view is not available.

Throws

if geopoliticalView is invalid.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Password for accessing the keystore. If not provided, the SDK assumes the keystore requires no password.

Link copied to clipboard

Path to the keystore file containing encryption keys for the region store. If the region store is encrypted, the keystore file is required. Must be an absolute path, and its parent directory must be writable.

Link copied to clipboard

A lambda function that allows for additional configuration of map updates.

Link copied to clipboard

Path to the directory where map update files are stored. Defaults to an "updates" folder inside the application's files directory. Must be an absolute path and writable directory.