Interface UdevSubsystemMonitor.UdevDeviceMatcher

Enclosing class:
UdevSubsystemMonitor

public static interface UdevSubsystemMonitor.UdevDeviceMatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Given a UdevDevice return true to include it in the list of devices the monitor will expose.
  • Method Details

    • matchDevice

      boolean matchDevice(UdevDevice device)
      Given a UdevDevice return true to include it in the list of devices the monitor will expose. Returning false doesn't necessarily exclude the device if another matcher in the list includes it.
      Parameters:
      device - the device to match
      Returns:
      true to include
      Since:
      10