ErrorReporterConsentService

interface ErrorReporterConsentService

The ErrorReporterConsentService deals with the user's consent to collect data to be attached to an error report.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val needUserConsent: Boolean

Indicates whether to request user consent, for example for data collection.

Functions

Link copied to clipboard
abstract suspend fun setHasUserConsent(hasUserConsent: Boolean, neverAskAgain: Boolean)

Sets the user's consent. It can be used to start collecting data, or to collect additional data.