DefaultTelemetryConfigProvider

constructor(context: Context, apiKey: String, deviceId: String? = null)

Parameters

context

A context instance.

apiKey

TomTom APIM API key.

deviceId

Optional device ID predefined by the client. If not provided, it will be generated automatically. If the provided deviceId is an empty string, com.tomtom.sdk.telemetry.Telemetry.initialize will throw an error.