sdk-common / com.tomtom.online.sdk.common.config.loader / ConfigLoader

ConfigLoader

interface ConfigLoader

Interface that defines methods to load API keys for TomTom services (e.g. TomTom map.).

Functions

getDescription

abstract fun getDescription(): String!

Get currently used instance description.

loadConfig

abstract fun loadConfig(): MutableMap<String!, String!>!

Load TomTom services configuration. The map contains following data: service name, service API key.

Inheritors

DynamicConfigLoader

open class DynamicConfigLoader : ConfigLoader

ConfigLoader implementation that loads configuration items (ie. API keys) which have been dynamically specified by the user

ManifestConfigLoader

open class ManifestConfigLoader : ConfigLoader

ConfigLoader implementation that loads API keys from Android manifest file.