Package-level declarations
Types
Link copied to clipboard
class DefaultUsageAndDiagnosticsRepository(dataSource: UsageAndDiagnosticsPreferencesDataSource, buildInfoRepository: BuildInfoRepository, diagnostics: DiagnosticsReporter, consentRepository: ConsentRepository) : UsageAndDiagnosticsRepository
Persists reporting and advertising consents, then applies the stored bundle to the consent SDKs. Applying after each write keeps SDK state current even when the settings screen is closed. Unset choices default to enabled in release builds and disabled in debug builds.
Link copied to clipboard
interface UsageAndDiagnosticsRepository
Repository exposing usage and diagnostics related settings to the rest of the application. Implementations should delegate to a data source to read and persist the underlying values.