Class AlertSim.AlertInfo

java.lang.Object
org.wpilib.simulation.AlertSim.AlertInfo
Enclosing class:
AlertSim

public static class AlertSim.AlertInfo extends Object
Information about an alert.
  • Field Details

    • handle

      public final int handle
      The handle of the alert.
    • group

      public final String group
      The group of the alert.
    • text

      public final String text
      The text of the alert.
    • activeStartTime

      public final long activeStartTime
      The time the alert became active. 0 if not active.
    • level

      public final Alert.Level level
      The level of the alert (HIGH, MEDIUM, or LOW).
  • Method Details

    • isActive

      public boolean isActive()
      Returns whether the alert is currently active.
      Returns:
      true if the alert is active, false otherwise