TelemetryCollection
The switches that decide what the telemetry SDKs may collect, set from the person's consent.
Only the code that owns consent and the usage and diagnostics choice applies them, so the SDKs collect exactly what the person agreed to. It reports nothing itself.
Inheritors
Functions
Link copied to clipboard
Enables or disables analytics collection for the current process.
Link copied to clipboard
Enables or disables crash reporting for the current process.
Link copied to clipboard
Enables or disables performance monitoring for the current process.
Link copied to clipboard
abstract fun updateConsent(analyticsGranted: Boolean, adStorageGranted: Boolean, adUserDataGranted: Boolean, adPersonalizationGranted: Boolean)
Updates the consent configuration used by analytics and ads measurement.