Method
FwupdPluginDevicepoll_locker_new
since: 1.8.1
[−]
Description [src]
Returns a device locker that prevents polling on the device. If there are no open poll lockers then the poll callback will be called.
Use FU_DEVICE_INTERNAL_AUTO_PAUSE_POLLING
to opt into this functionality.
Available since: 1.8.1
[−]
Return value
Type: FuDeviceLocker
A FuDeviceLocker
.
The caller of the method takes ownership of the data, and is responsible for freeing it. |