Package com.tccc.kos.core.service.udev
Interface UdevDeviceOwner
public interface UdevDeviceOwner
Interface that allows a
UdevDevice
to be claimed / released. Claiming
a device provides the UdevDeviceOwner
exclusive access to the device
until the device is released, the owner is removed, or the device itself
is removed.- Version:
- 2023-09-18
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onOwnedDeviceRemove
(UdevDevice device) Called when aUdevDevice
owned by this owner goes away.
-
Method Details
-
onOwnedDeviceRemove
Called when aUdevDevice
owned by this owner goes away. This is typically the result of the hardware being disconnected, power cycled and so on.
-