public class Event
extends java.lang.Object
EventProcessor
if
desired.Modifier and Type | Class and Description |
---|---|
static class |
Event.Custom
A custom event created with
LDClientInterface.track(String, LDUser) or one of its overloads. |
static class |
Event.FeatureRequest
An event generated by a feature flag evaluation.
|
static class |
Event.Identify
An event created with
LDClientInterface.identify(LDUser) . |
static class |
Event.Index
An event created internally by the SDK to hold user data that may be referenced by multiple events.
|
Constructor and Description |
---|
Event(long creationDate,
LDUser user)
Base event constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getCreationDate()
The event timestamp.
|
LDUser |
getUser()
The user associated with the event.
|
public Event(long creationDate, LDUser user)
creationDate
- the timestamp in millisecondsuser
- the user associated with the eventpublic long getCreationDate()
public LDUser getUser()