-
- All Implemented Interfaces:
public final class EventRepresents a single event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEvent.BuilderEvent Builder
-
Method Summary
Modifier and Type Method Description StringgetName()Returns the EventnameStringgetUniqueIdentifier()Returns the EventuniqueIdentifierStringgetSource()Returns the Eventsource valueStringgetType()Returns the Eventtype valuelonggetTimestamp()StringgetResponseID()Pair ID for events dispatched by the receiver(s) in response to this event StringgetParentID()Returns the unique identifier of the parent of this event. Array<String>getMask()Eventcopy()Copies an Event.EventcloneWithEventData(Map<String, Object> newData)Clones the current Event with updated data Map<String, Object>getEventData()Retrieves the event data for current EventlonggetTimestampInSeconds()StringtoString()-
-
Method Detail
-
getUniqueIdentifier
String getUniqueIdentifier()
Returns the
EventuniqueIdentifier
-
getTimestamp
long getTimestamp()
-
getResponseID
String getResponseID()
Pair ID for events dispatched by the receiver(s) in response to this event
-
getParentID
String getParentID()
Returns the unique identifier of the parent of this event.
-
copy
@Deprecated() Event copy()
Copies an
Event.
-
cloneWithEventData
Event cloneWithEventData(Map<String, Object> newData)
Clones the current Event with updated data
- Parameters:
newData- data associated with the newEvent
-
getEventData
Map<String, Object> getEventData()
Retrieves the event data for current
Event
-
getTimestampInSeconds
long getTimestampInSeconds()
-
-
-
-