Class UsageReportingJNI

java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.UsageReportingJNI

public class UsageReportingJNI extends JNIWrapper
Usage Reporting JNI Functions.
See Also:
  • "hal/UsageReporting.h"
  • Method Details

    • report

      public static int report(String resource, String data)
      Reports usage of a resource of interest. Repeated calls for the same resource name replace the previous report.
      Parameters:
      resource - the used resource name
      data - arbitrary associated data string
      Returns:
      a handle