![]() |
![]() |
![]() |
![]() |
The FpContext allows you to discover fingerprint scanning hardware. This is the starting point when integrating libfprint into your software.
The device-added and device-removed signals allow you to handle devices that may be hotplugged at runtime.
struct FpContextClass { GObjectClass parent_class; void (*device_added) (FpContext *context, FpDevice *device); void (*device_removed) (FpContext *context, FpDevice *device); };
Class structure for FpContext instances.
“device-added”
signalvoid user_function (FpContext *context, FpDevice *device, gpointer user_data)
This signal is emitted when a fingerprint reader is added.
Flags: Run Last
“device-removed”
signalvoid user_function (FpContext *context, FpDevice *device, gpointer user_data)
This signal is emitted when a fingerprint reader is removed.
It is guaranteed that the device has been closed before this signal is emitted. See the FpDevice removed signal documentation for more information.
Flags: Run Last