Package-level declarations
Types
Amplitude's lifecycle and identity, over an Amplitude the consumer owns.
One pending call to Amplitude on behalf of one event.
Turns an event into the Amplitude calls it should produce — or declines it.
One pending call to Amplitude on behalf of one property.
The AmplitudeEventTrackerFactory counterpart for properties, with the same partial contract.
A purchase as Amplitude's revenue API takes it, so it lands in Amplitude's revenue charts and LTV rather than as an ordinary event. The fields are Amplitude's Revenue fields, under Amplitude's names.
Asks each factory in order and takes the first answer that is not a decline.
Asks each factory in order and takes the first answer that is not a decline.
Tracks any event under its own name with its parameters as event properties. Claims everything, so it only belongs last in a chain — anything after it is unreachable.
Sets any property as an Amplitude user property. Claims everything, so it belongs last in a chain.
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.
The RequireMappedAmplitudeEventTrackerFactory counterpart for properties, and the alternative to ending a chain with GenericAmplitudePropertySetterFactory.
Claims every ScreenViewEvent and declines everything else, which is GenericAmplitudeEventTrackerFactory's business.
Properties
Functions
Event parameters as Amplitude should store them; see asAmplitudeValue.
Builds the Amplitude payload for revenue, with AmplitudeRevenueEvent.parameters as its properties. Public because a custom AmplitudeEventTracker almost always needs it.