public static class Udev.UdevEnumerate extends PointerType
Udev.UdevContext.enumerateNew()
.Constructor and Description |
---|
UdevEnumerate() |
Modifier and Type | Method and Description |
---|---|
int |
addMatchSubsystem(java.lang.String subsystem)
Modify filters of this object to match a subsystem.
|
Udev.UdevListEntry |
getListEntry()
Get the first list entry from this object.
|
Udev.UdevEnumerate |
ref()
Acquire a further reference to this object.
|
int |
scanDevices()
Query this object.
|
void |
unref()
Drop a reference to this object.
|
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public Udev.UdevEnumerate ref()
public void unref()
public int addMatchSubsystem(java.lang.String subsystem)
subsystem
- The subsystem to matchpublic int scanDevices()
/sys
for all devices which match the given
filters. No filters will return all currently available devices.public Udev.UdevListEntry getListEntry()