Package-level declarations
Types
Link copied to clipboard
interface ConsentRepository
Requests consent through UMP and applies consent choices to Firebase. Every function is safe to call from the main thread.
Link copied to clipboard
class DefaultConsentRepository(remote: ConsentRemoteDataSource, local: ConsentPreferencesDataSource, buildInfoRepository: BuildInfoRepository, diagnostics: DiagnosticsReporter, collection: TelemetryCollection, requestScope: CoroutineScope = CoroutineScope(context = SupervisorJob() + Dispatchers.Main.immediate)) : ConsentRepository
Implementation of ConsentRepository that delegates UMP work to a remote data source.