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

ConfigLoader

@DeprecatedSince("2020.06") 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 the currently used instance description.

loadConfig

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

Load TomTom services configuration. The map contains the 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.