DefaultUsageAndDiagnosticsPreferencesDataSource
class DefaultUsageAndDiagnosticsPreferencesDataSource(dataStore: DataStore<Preferences>) : UsageAndDiagnosticsPreferencesDataSource(source)
Consent and diagnostics preferences stored in the shared settings Preferences DataStore.
Implements both contracts because they overlap on the usage-and-diagnostics toggle: the consent feature reads it alongside the ad consents, the diagnostics feature also writes it.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Emits every choice from one storage snapshot, including defaults for unset keys.
Link copied to clipboard