Package lib.util
Class Notifications
java.lang.Object
lib.util.Notifications
-
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.wpilibj2.command.Commandc_randomNotif(String[] options, Elastic.NotificationLevel level) Command-based version ofrandomNotif(String[], NotificationLevel)static edu.wpi.first.wpilibj2.command.Commandc_sendNotification(Elastic.Notification notification) Command-based version ofElastic.sendNotification(Notification)static edu.wpi.first.wpilibj2.command.Commandstatic edu.wpi.first.wpilibj2.command.Commandstatic voidrandomNotif(String[] options, Elastic.NotificationLevel level) Send a random Elasticâ„¢ notification to the dashboard
-
Method Details
-
c_testNotif
public static edu.wpi.first.wpilibj2.command.Command c_testNotif() -
c_sendRandom
public static edu.wpi.first.wpilibj2.command.Command c_sendRandom() -
randomNotif
Send a random Elasticâ„¢ notification to the dashboard- Parameters:
options- An array of possible notificationslevel- aElastic.NotificationLevelthat the notification displays as
-
c_randomNotif
public static edu.wpi.first.wpilibj2.command.Command c_randomNotif(String[] options, Elastic.NotificationLevel level) Command-based version ofrandomNotif(String[], NotificationLevel) -
c_sendNotification
public static edu.wpi.first.wpilibj2.command.Command c_sendNotification(Elastic.Notification notification) Command-based version ofElastic.sendNotification(Notification)
-