-
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 Map<String, Object>parametersprivate final BooleanisDebugprivate final StringrawReferrerprivate final LongreferrerClickTimestampSecprivate final LongappInstallTimestampSecprivate final StringdeeplinkIdprivate final Stringgclid
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetType()final StringgetName()final StringgetTriggerType()final LonggetTs()final DoublegetValue()final Map<String, Object>getParameters()final BooleangetIsDebug()final StringgetRawReferrer()final LonggetReferrerClickTimestampSec()final LonggetAppInstallTimestampSec()final StringgetDeeplinkId()final StringgetGclid()-
-
Method Detail
-
getTriggerType
final String getTriggerType()
-
getParameters
final Map<String, Object> getParameters()
-
getIsDebug
final Boolean getIsDebug()
-
getRawReferrer
final String getRawReferrer()
-
getReferrerClickTimestampSec
final Long getReferrerClickTimestampSec()
-
getAppInstallTimestampSec
final Long getAppInstallTimestampSec()
-
getDeeplinkId
final String getDeeplinkId()
-
-
-
-