android-components / org.mozilla.telemetry / TelemetryHolder

# TelemetryHolder

`open class TelemetryHolder` (source)

Holder of a static reference to the Telemetry instance. This is required for background services that somehow need to get access to the configuration and storage. This is not particular nice. Hopefully we can replace this with something better.

### Constructors

<init> | `TelemetryHolder()` Holder of a static reference to the Telemetry instance. This is required for background services that somehow need to get access to the configuration and storage. This is not particular nice. Hopefully we can replace this with something better.

### Functions

get | `open static fun get(): Telemetry`
set | `open static fun set(telemetry: Telemetry): Unit`