Class Event<EventCode>

java.lang.Object
com.vivoka.vsdk.common.Event<EventCode>
Type Parameters:
EventCode - The type of the event code enum.

public class Event<EventCode> extends Object
Holds informations about an event.
  • Field Details

    • code

      public EventCode code
      The code of the event
    • codeString

      public String codeString
      The code string of the event
    • message

      public String message
      The message of the event
    • timerMarker

      public long timerMarker
      The time marker of the event in milliseconds
  • Constructor Details

    • Event

      public Event(EventCode code, String codeString)
      Constructs an event
      Parameters:
      code - The code of the event
      codeString - The code string of the eventœ
    • Event

      public Event(EventCode code, String codeString, String message)
      Constructs an event
      Parameters:
      code - The code of the event
      codeString - The code string of the event
      message - The message of the event
    • Event

      public Event(EventCode code, String codeString, String message, long timerMarker)
      Constructs an event
      Parameters:
      code - The code of the event
      codeString - The code string of the event
      message - The message of the event
      timerMarker - The time marker of the event
  • Method Details

    • formattedTimeMarker

      public String 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