AnalyticsPrefs

Reactive interface for analytics-related preferences.

Properties

Link copied to clipboard
abstract val analyticsAllowed: StateFlow<Boolean>
Link copied to clipboard
abstract val installId: StateFlow<String>

Functions

Link copied to clipboard
abstract fun toggleAnalyticsAllowed()

Flips the stored value, not analyticsAllowed's snapshot, which lags a pending write.