Class AlertSim.AlertInfo
java.lang.Object
org.wpilib.simulation.AlertSim.AlertInfo
- Enclosing class:
AlertSim
Information about an alert.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longThe time the alert became active.final StringThe group of the alert.final intThe handle of the alert.final Alert.LevelThe level of the alert (HIGH, MEDIUM, or LOW).final StringThe text of the alert. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()Returns whether the alert is currently active.
-
Field Details
-
handle
The handle of the alert. -
group
-
text
-
activeStartTime
The time the alert became active. 0 if not active. -
level
The level of the alert (HIGH, MEDIUM, or LOW).
-
-
Method Details
-
isActive
Returns whether the alert is currently active.- Returns:
- true if the alert is active, false otherwise
-