-
public final class TrackedEventRepresents a single event sent to the backend.
The type field now uses EventCategory (STANDARD/CUSTOM) instead of raw strings. For STANDARD events, the name field contains the original EventType name. For CUSTOM events, the name field contains the custom event name.
Extra fields that are only meaningful for install-type events are kept optional so the same data class can be reused for any user-generated event as well.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringtypeprivate final Stringnameprivate final StringtriggerTypeprivate final Longtsprivate final Doublevalueprivate final StringrawReferrerprivate final LongreferrerClickTimestampSecprivate final LongappInstallTimestampSec
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetType()final StringgetName()final StringgetTriggerType()final LonggetTs()final DoublegetValue()final StringgetRawReferrer()final LonggetReferrerClickTimestampSec()final LonggetAppInstallTimestampSec()-
-
Method Detail
-
getTriggerType
final String getTriggerType()
-
getRawReferrer
final String getRawReferrer()
-
getReferrerClickTimestampSec
final Long getReferrerClickTimestampSec()
-
getAppInstallTimestampSec
final Long getAppInstallTimestampSec()
-
-
-
-