Annotation Type Preference

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean persistent
      Whether the value should be persisted between code restarts.
      String value
      Label for the entry on the SmartDashboard/Shuffleboard.
    • Element Detail

      • value

        String value
        Label for the entry on the SmartDashboard/Shuffleboard.
        Returns:
        the SmartDashboard/Shuffleboard label.
        Default:
        ""
      • persistent

        boolean persistent
        Whether the value should be persisted between code restarts. If true, value is saved through the Preferences API; if false, value is set through the SmartDashboard API.
        Returns:
        Whether the value should be persistent.
        Default:
        true