DefaultTelemetry

Responsible for interacting with and customizing Telemetry.

There's always only one DefaultTelemetry instance. Ensure that close is called when the instance is no longer needed. This clears resources and renders the instance invalid; all subsequent method calls, except for close, will throw an IllegalStateException.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
actual open override var userConsent: Telemetry.Consent?

The end-user consent for sending telemetry data

Functions

Link copied to clipboard
actual open override fun close()

Sends any queued telemetry data and permanently disables reporting any further data.