Package-level declarations

Types

Link copied to clipboard

The consent settings set with setConsent, mirroring com.google.firebase.analytics.ConsentBuilder.

Link copied to clipboard

The entry point of Firebase Analytics, mirroring com.google.firebase.analytics.FirebaseAnalytics; obtained with com.google.firebase.Firebase.analytics.

Link copied to clipboard

The parameters of an event logged with logEvent, mirroring com.google.firebase.analytics.ParametersBuilder.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun FirebaseAnalytics.logEvent(name: String, block: ParametersBuilder.() -> Unit)

Logs name with the parameters set in block, e.g. logEvent(FirebaseAnalytics.Event.LOGIN) { param(FirebaseAnalytics.Param.METHOD, "email") }.

Link copied to clipboard

Sets the consent settings assigned in block, e.g. setConsent { adStorage = FirebaseAnalytics.ConsentStatus.GRANTED }.