Class MacUsbDeviceFFM

All Implemented Interfaces:
Comparable<UsbDevice>, UsbDevice

public final class MacUsbDeviceFFM extends MacUsbDevice
Mac USB device helper using FFM/IOKit. Instantiates MacUsbDevice objects.
  • Method Details

    • getUsbDevices

      public static List<UsbDevice> getUsbDevices(boolean tree)
      Instantiates a list of UsbDevice objects, representing devices connected via a usb port (including internal devices).
      Parameters:
      tree - If true, returns a list of controllers with their device tree. If false, returns a flat list of devices excluding controllers.
      Returns:
      a list of UsbDevice objects.