DefaultTelemetryConfigProvider
Default implementation of TelemetryConfigProvider.
When passing an instance of DefaultTelemetryConfigProvider to com.tomtom.sdk.telemetry.Telemetry.initialize, the method will throw:
IllegalArgumentException if constructor parameters are invalid,
Exception if an error occurs when creating or accessing an internal database.
Parameters
A context instance.
TomTom APIM API key.
Optional device ID predefined by the client. If not provided, a unique identifier will be automatically generated. The provided device ID must contain only alphanumeric, _ or - and the length must be in the range 6,128, otherwise com.tomtom.sdk.telemetry.Telemetry.initialize will throw an exception.
Note
The deviceId must be globally unique; reliance on the automatically generated identifier is recommended.