ConsentBuilder

public final class ConsentBuilder


Helper class used to enable fluent syntax in setConsent.

Summary

Public constructors

Public constructors

ConsentBuilder

public ConsentBuilder()

Public methods

getAdPersonalization

public final FirebaseAnalytics.ConsentStatus getAdPersonalization()

getAdStorage

public final FirebaseAnalytics.ConsentStatus getAdStorage()

getAdUserData

public final FirebaseAnalytics.ConsentStatus getAdUserData()

getAnalyticsStorage

public final FirebaseAnalytics.ConsentStatus getAnalyticsStorage()

setAdPersonalization

public final void setAdPersonalization(
    FirebaseAnalytics.ConsentStatus adPersonalization
)

setAdStorage

public final void setAdStorage(FirebaseAnalytics.ConsentStatus adStorage)

setAdUserData

public final void setAdUserData(FirebaseAnalytics.ConsentStatus adUserData)

setAnalyticsStorage

public final void setAnalyticsStorage(FirebaseAnalytics.ConsentStatus analyticsStorage)