Package com.vivoka.vsdk.common
Class Event<EventCode>
java.lang.Object
com.vivoka.vsdk.common.Event<EventCode>
- Type Parameters:
EventCode- The type of the event code enum.
Holds informations about an event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe code of the eventThe code string of the eventThe message of the eventlongThe time marker of the event in milliseconds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the formatted time marker of the event as string in the format "HH:MM:SS.mmm".
-
Field Details
-
code
The code of the event -
codeString
The code string of the event -
message
The message of the event -
timerMarker
public long timerMarkerThe time marker of the event in milliseconds
-
-
Constructor Details
-
Event
Constructs an event- Parameters:
code- The code of the eventcodeString- The code string of the eventœ
-
Event
Constructs an event- Parameters:
code- The code of the eventcodeString- The code string of the eventmessage- The message of the event
-
Event
Constructs an event- Parameters:
code- The code of the eventcodeString- The code string of the eventmessage- The message of the eventtimerMarker- The time marker of the event
-
-
Method Details
-
formattedTimeMarker
Returns the formatted time marker of the event as string in the format "HH:MM:SS.mmm".- Returns:
- The formatted time marker of the event
-