Package-level declarations
Types
Link copied to clipboard
class DefaultAdsSettingsRepository(preferences: AdsPreferencesDataSource, diagnostics: DiagnosticsReporter) : AdsSettingsRepository
Reads and writes the ad preferences in AdsPreferencesDataSource, with the store's own default, which the ads manager and the ad views share. It reads the cold preference flows rather than the eagerly started adsEnabled, so a read failure reaches the caller as a StorageException.