Class Event
java.lang.Object
com.mparticle.sdk.model.eventprocessing.Event
- Direct Known Subclasses:
ApplicationStateTransitionEvent
,AttributionEvent
,CustomEvent
,ErrorEvent
,ImpressionEvent
,PrivacySettingChangeEvent
,ProductActionEvent
,PromotionActionEvent
,PushMessageOpenEvent
,PushMessageReceiptEvent
,PushSubscriptionEvent
,ScreenViewEvent
,SessionEndEvent
,SessionStartEvent
,UserAttributeChangeEvent
,UserIdentityChangeEvent
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
long
getType()
void
setLocation
(Location location) void
setRequest
(EventProcessingRequest request) void
setSessionId
(Long sessionId) void
setSourceId
(String sourceId) void
setTimestamp
(long timestamp)
-
Constructor Details
-
Event
-
-
Method Details
-
getType
- Returns:
- event type
-
getId
- Returns:
- event id
-
getTimestamp
public long getTimestamp()- Returns:
- time in milliseconds
-
setTimestamp
public void setTimestamp(long timestamp) - Parameters:
timestamp
- time in milliseconds
-
getSourceId
- Returns:
- source event id
-
setSourceId
- Parameters:
sourceId
- source event id
-
getSessionId
- Returns:
- session id
-
setSessionId
- Parameters:
sessionId
- session id
-
getLocation
- Returns:
- Geo location
-
setLocation
- Parameters:
location
- Geo location
-
getRequest
-
setRequest
-