| Top |
| FpPrint * | fp_print_new () |
| const gchar * | fp_print_get_driver () |
| const gchar * | fp_print_get_device_id () |
| gboolean | fp_print_get_device_stored () |
| 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 () |
| 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 () |
| char * | description | Read / Write |
| char * | device-id | Read / Write / Construct Only |
| gboolean | device-stored | Read / Write / Construct Only |
| char * | driver | Read / Write / Construct Only |
| GDate * | enroll-date | Read / Write |
| FpFinger | finger | Read / Write |
| GVariant * | fpi-data | Read / Write |
| gpointer | fpi-prints | Read / Write |
| FpiPrintType | fpi-type | Read / Write |
| FpImage * | image | Read |
| char * | username | Read / Write |
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.
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.
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.
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 |
“description” property “description” char *
A user defined description for the print.
Owner: FpPrint
Flags: Read / Write
Default value: NULL
“device-id” property “device-id” char *
Unique ID allowing to check if a device is compatible with the print.
Owner: FpPrint
Flags: Read / Write / Construct Only
Default value: NULL
“device-stored” property“device-stored” gboolean
Whether the print is a handle for data that is stored on the device.
Owner: FpPrint
Flags: Read / Write / Construct Only
Default value: FALSE
“driver” property “driver” char *
The name of the driver that created the print.
Owner: FpPrint
Flags: Read / Write / Construct Only
Default value: NULL
“enroll-date” property“enroll-date” GDate *
The date of enrollment.
Owner: FpPrint
Flags: Read / Write
“finger” property“finger” FpFinger
The enrolled finger.
Owner: FpPrint
Flags: Read / Write
Default value: FP_FINGER_UNKNOWN
“fpi-data” property“fpi-data” GVariant *
The raw data for internal use only.
Owner: FpPrint
Flags: Read / Write
Allowed values: GVariant<*>
Default value: NULL
“fpi-prints” property“fpi-prints” gpointer
Prints for internal use only.
Owner: FpPrint
Flags: Read / Write
“fpi-type” property“fpi-type” FpiPrintType
Private: The type of the print data.
Owner: FpPrint
Flags: Read / Write
Default value: FPI_PRINT_UNDEFINED
“image” property“image” FpImage *
The image that was used for the print, only valid for newly enrolled prints on image based devices.
Owner: FpPrint
Flags: Read