ConsentBuilder

public final class ConsentBuilder


Helper class used to enable fluent syntax in setConsent.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-analytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.,

Summary

Public constructors

Public constructors

ConsentBuilder

public ConsentBuilder()

Public methods

getAdStorage

public final FirebaseAnalytics.ConsentStatus getAdStorage()

getAnalyticsStorage

public final FirebaseAnalytics.ConsentStatus getAnalyticsStorage()

setAdStorage

public final void setAdStorage(FirebaseAnalytics.ConsentStatus adStorage)

setAnalyticsStorage

public final void setAnalyticsStorage(FirebaseAnalytics.ConsentStatus analyticsStorage)