| Top |
| FpPrint * | fp_print_new () |
| FpPrint * | fp_print_new_from_data () |
| gboolean | fp_print_to_data () |
| const gchar * | fp_print_get_driver () |
| const gchar * | fp_print_get_device_id () |
| FpImage * | fp_print_get_image () |
| FpFinger | fp_print_get_finger () |
| const gchar * | fp_print_get_username () |
| const gchar * | fp_print_get_description () |
| const GDate * | fp_print_get_enroll_date () |
| gboolean | fp_print_get_device_stored () |
| void | fp_print_set_finger () |
| void | fp_print_set_username () |
| void | fp_print_set_description () |
| void | fp_print_set_enroll_date () |
| gboolean | fp_print_compatible () |
| gboolean | fp_print_equal () |
| gboolean | fp_print_serialize () |
| FpPrint * | fp_print_deserialize () |
FpPrint *
fp_print_new (FpDevice *device);
Create a new FpPrint. This is only useful to prepare an enrollment
of a new print using fp_device_enroll(). For this you should first
create a new print, fill in the relevant metadata, and then start
enrollment.
const gchar *
fp_print_get_driver (FpPrint *print);
Returns the driver that the print was created for.
const gchar *
fp_print_get_device_id (FpPrint *print);
Returns the device ID that the print was created for.
FpImage *
fp_print_get_image (FpPrint *print);
Returns the image that the print was created from, or NULL
FpFinger
fp_print_get_finger (FpPrint *print);
Returns the finger that the print was created for.
const gchar *
fp_print_get_username (FpPrint *print);
Returns the user defined username for the print.
const gchar *
fp_print_get_description (FpPrint *print);
Returns the user defined description for the print.
const GDate *
fp_print_get_enroll_date (FpPrint *print);
Returns the user defined enroll date for the print.
gboolean
fp_print_get_device_stored (FpPrint *print);
Whether the print is actually stored on the device and this is just a handle to use that references the device stored data.
void fp_print_set_finger (FpPrint *print,FpFinger finger);
Set the finger that the print is for.
void fp_print_set_username (FpPrint *print,const gchar *username);
Set the username for the print.
void fp_print_set_description (FpPrint *print,const gchar *description);
Set the description for the print.
void fp_print_set_enroll_date (FpPrint *print,const GDate *enroll_date);
Set the enroll date for the print.
gboolean fp_print_compatible (FpPrint *self,FpDevice *device);
Tests whether the prints is compatible with the given device.
gboolean fp_print_equal (FpPrint *self,FpPrint *other);
Tests whether the prints can be considered equal. This only compares the actual information about the print, not the metadata.
gboolean fp_print_serialize (FpPrint *print,guchar **data,gsize *length,GError **error);
Serialize a print definition for permanent storage. Note that this is lossy in the sense that e.g. the image data is discarded.
A FpPrint |
||
data |
Return location for data pointer. |
[array length=length][transfer full][out] |
length |
Length of |
[transfer full][out] |
error |
Return location for error |