Class StartSessionEvent


public class StartSessionEvent extends SessionEvent
  • Constructor Details

    • StartSessionEvent

      public StartSessionEvent(String userID, int sessionID, Instant timeStamp, DifficultyEnum difficulty)
      Constructor for StartSessionEvent.
      Parameters:
      userID - the ID of the user who is playing the game when the event is constructed.
      sessionID - the ID of the session the user is currently playing. See TelemetryListenerInterface for information about sessions.
      timeStamp - the time the event was constructed in the format yyyy/mm/dd/hh/mm/ss.
      difficulty - the difficulty used for the player's session.
      source - the object that constructed the telemetry event.
  • Method Details

    • getDifficulty

      public DifficultyEnum getDifficulty()
      Gets the difficulty of the session.
      Returns:
      the difficulty of the session.