TomTomSDKTelemetryConfigProvider
TomTomSDKTelemetryConfigProvider
This module provides the implementation of TelemetryConfigProvider
. It is necessary for initializing the TomTomSDKTelemetry
module.
Use the DefaultTelemetryConfigProvider
class as the entry point to this module.
-
Default implementation of
TelemetryConfigProvider
.When passing an instance of
DefaultTelemetryConfigProvider
toTelemetry.initialize
, the method will throw aTelemetryError
if:- Initializer parameters are invalid,
An error occurs when creating or accessing an internal database.
Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public class DefaultTelemetryConfigProvider : TelemetryConfigProvider
-
Implementation of
TelemetryConfigProvider
that restricts the telemetry configuration to only handle Location events.When passing an instance of
RestrictedTelemetryConfigProvider
toTelemetry.initialize
, the method throws aTelemetryError
if:An error occurs when creating or accessing an internal database.
Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public class RestrictedTelemetryConfigProvider : TelemetryConfigProvider