| Top |
| FpContext * | fp_context_new () |
| void | fp_context_enumerate () |
| GPtrArray * | fp_context_get_devices () |
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.
void
fp_context_enumerate (FpContext *context);
Enumerate all devices. You should call this function exactly once at startup. Please note that it iterates the mainloop until all devices are enumerated.
GPtrArray *
fp_context_get_devices (FpContext *context);
Get all devices. fp_context_enumerate() will be called as needed.
struct FpContextClass {
GObjectClass parent_class;
void (*device_added) (FpContext *context,
FpDevice *device);
void (*device_removed) (FpContext *context,
FpDevice *device);
};
Class structure for FpContext instances.