Package com.kosdev.kos.core.service.udev
Interface UdevSubsystemMonitor.UdevDeviceMatcher
- Enclosing class:
- UdevSubsystemMonitor
public static interface UdevSubsystemMonitor.UdevDeviceMatcher
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchDevice(UdevDevice device) Given aUdevDevicereturn true to include it in the list of devices the monitor will expose.
-
Method Details
-
matchDevice
Given aUdevDevicereturn 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
-