Class AlertDataJNI.AlertInfo

java.lang.Object
org.wpilib.util.AlertDataJNI.AlertInfo
Enclosing class:
AlertDataJNI

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

    • group

      public final String group
      Group name for the alert.
    • id

      public final String id
      Unique ID for the alert.
    • text

      public final String text
      Text description of the alert.
    • activeStartTime

      public final long activeStartTime
      Time when the alert became active, or 0 if not active.
    • level

      public final int level
      Level of the alert.
  • Constructor Details

    • AlertInfo

      public AlertInfo(String group, String id, String text, long activeStartTime, int level)
      Constructs an AlertInfo object. Called from JNI.
      Parameters:
      group - Group name for the alert
      id - Unique ID for the alert
      text - Text description of the alert
      activeStartTime - Time when the alert became active, or 0 if not active
      level - Level of the alert