DefaultTelemetryConfigProvider

class DefaultTelemetryConfigProvider(context: Context, apiKey: String, deviceId: String? = null, anonymous: Boolean = false) : TelemetryConfigProvider

Default implementation of TelemetryConfigProvider.

Parameters

context

Application context.

apiKey

TomTom APIM API key.

deviceId

Optional device ID predefined by the client. If not provided, it will be generated automatically.

anonymous

Optional anonymous profile flag.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(context: Context, apiKey: String, deviceId: String? = null, anonymous: Boolean = false)

Functions

Link copied to clipboard
open override fun provide(): TelemetryConfig