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

ConfigLoader

@DeprecatedSince(2020, 6) interface ConfigLoader
Deprecated: Deprecated in Java

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 (i.e., API Keys) that have been dynamically specified by the user.

ManifestConfigLoader

open class ManifestConfigLoader : ConfigLoader

ConfigLoader Implementation that loads API Keys from the Android manifest file.