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

Logs any event under its own name. Claims everything, so it only belongs last in a chain.

Link copied to clipboard

Meta's start, sign-in and consent, over an AppEventsLogger the app creates.

Link copied to clipboard

Events only: Meta keeps no attributes of a user or a session, so register this provider without properties.

Link copied to clipboard
fun interface MetaEventTracker

One pending call to Meta on behalf of one event.

Link copied to clipboard

Turns an event into the Meta calls it should produce, or declines it.

Link copied to clipboard
data class MetaPurchaseEvent(val name: String, val amount: Double, val currency: String, val parameters: Map<String, AnalyticsValue> = emptyMap()) : Event

A purchase as Meta's standard fb_mobile_purchase, which Meta counts as revenue for ads.

Link copied to clipboard

Fails on any event that reaches it, so the error reporter shows events nobody mapped.

Functions

Link copied to clipboard

Event parameters as Meta takes them: numbers stay numbers, and true/false becomes text, since Meta's parameters are text or numbers.