Package-level declarations

Types

Link copied to clipboard

Asks each factory in order and takes the first answer that is not a decline.

Link copied to clipboard

Asks each factory in order and takes the first answer that is not a decline.

Link copied to clipboard

Firebase's lifecycle and identity, over a FirebaseAnalytics the consumer owns.

Link copied to clipboard
fun interface FirebaseEventTracker

One pending call to Firebase on behalf of one event.

Link copied to clipboard

Turns an event into the Firebase calls it should produce — or declines it.

Link copied to clipboard

One pending call to Firebase on behalf of one property.

Link copied to clipboard

The FirebaseEventTrackerFactory counterpart for properties, with the same partial contract.

Link copied to clipboard

Logs any event under its own name with its parameters attached. Claims everything, so it only belongs last in a chain — anything after it is unreachable.

Link copied to clipboard

Sets any property as a Firebase user property. Firebase draws no distinction between session and profile attributes, so this covers UserProperty too and no marker-aware factory is needed. Claims everything, so it belongs last in a chain.

Link copied to clipboard

Fails on any event that reaches it. Put it last in a chain to turn an event nobody wired up into a loud failure rather than a silent no-op.

Link copied to clipboard
class ScreenViewFirebaseEventTrackerFactory(firebaseAnalytics: FirebaseAnalytics) : FirebaseEventTrackerFactory

Claims every ScreenViewEvent and declines everything else, which is GenericFirebaseEventTrackerFactory's business.

Functions

Link copied to clipboard

Event parameters as a Firebase Bundle.