001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package org.wpilib.hardware.hal; 006 007/** 008 * Usage Reporting JNI Functions. 009 * 010 * @see "wpi/hal/UsageReporting.h" 011 */ 012public class UsageReportingJNI extends JNIWrapper { 013 /** 014 * Reports usage of a resource of interest. Repeated calls for the same resource name replace the 015 * previous report. 016 * 017 * @param resource the used resource name 018 * @param data arbitrary associated data string 019 */ 020 public static native void report(String resource, String data); 021 022 /** Utility class. */ 023 private UsageReportingJNI() {} 024}