Package-level declarations
Types
Ad revenue reported by a mediation SDK, as AppsFlyer's ad-revenue API takes it rather than as an in-app event. The fields are AFAdRevenueData's.
AppsFlyer's lifecycle and identity, over an AppsFlyerLib the consumer has initialised.
Events only. AppsFlyer keeps no attributes of a user or a session, so there is nothing for a Property to be set on; register this provider without properties.
One pending call to AppsFlyer on behalf of one event.
Turns an event into the AppsFlyer calls it should produce — or declines it.
A purchase as AppsFlyer's predefined af_purchase, with the revenue under af_revenue, which is what AppsFlyer counts as revenue and forwards to ad networks for ROAS.
A paid subscription as AppsFlyer's predefined af_subscribe, with the revenue under af_revenue, which is what AppsFlyer counts as revenue and forwards to ad networks for ROAS.
Asks each factory in order and takes the first answer that is not a decline.
Logs any event under its own name with its parameters as event values. Claims everything, so it only belongs last in a chain — anything after it is unreachable.
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.
Properties
Functions
Builds the AppsFlyer payload for ad revenue. Public because a custom AppsFlyerEventTracker almost always needs it.
The event values for af_purchase: AppsFlyerPurchaseEvent.parameters, then the predefined ones. An absent optional is left out rather than sent empty. Public because a custom AppsFlyerEventTracker almost always needs it.
The event values for af_subscribe: AppsFlyerSubscribeEvent.parameters, then the predefined ones. Public because a custom AppsFlyerEventTracker almost always needs it.
Event parameters as AppsFlyer event values; see asAppsFlyerValue.