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 Type
    Method
    Description
    void
    Called when a UdevDevice owned by this owner goes away.
  • Method Details

    • onOwnedDeviceRemove

      void onOwnedDeviceRemove(UdevDevice device)
      Called when a UdevDevice owned by this owner goes away. This is typically the result of the hardware being disconnected, power cycled and so on.