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 to Telemetry.initialize, the method will throw a TelemetryError 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.

    See more

    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 to Telemetry.initialize, the method throws a TelemetryError 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.

    See more

    Declaration

    Swift

    public class RestrictedTelemetryConfigProvider : TelemetryConfigProvider