|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.datecs.api.biometric.TouchChip
public abstract class TouchChip
Implements functionality of TouchChip finger print module.
| Nested Class Summary | |
|---|---|
static class |
TouchChip.Identity
The class that contains identity information. |
static interface |
TouchChip.ImageReceiver
A callback interface to notify when image data is received. |
| Field Summary | |
|---|---|
static int |
IMAGE_COMPRESSION_NONE
The image compression type. |
static int |
IMAGE_FORMAT_ANSI
The image is in ANSI format. |
static int |
IMAGE_FORMAT_ISO
The image is in ISO format. |
static int |
IMAGE_SIZE_LARGE
The image size is 256x360 pixels. |
static int |
IMAGE_SIZE_SMALL
The image size is 192x270 pixels. |
static int |
TEMPLATE_FORMAT_ANSI
Template in ANSI (ANSI INCITS 378-2004) format. |
static int |
TEMPLATE_FORMAT_ISO_FMC_C
Template in ISO_FMC_C (ISO/IEC 19794-2-2005) card format. |
static int |
TEMPLATE_FORMAT_ISO_FMC_N
Template in ISO_FMC_N (ISO/IEC 19794-2-2005) card format. |
static int |
TEMPLATE_FORMAT_ISO_FMR
Template in ISO_FMR (ISO/IEC 19794-2-2005) format |
static int |
TEMPLATE_FORMAT_NATIVE
Template in NATIVE (AuthenTec legacy) format. |
| Method Summary | |
|---|---|
TouchChip.Identity |
checkIdentity()
Check an identify. |
void |
deleteIdentity(int slot)
Delete an already enrolled template at a specified slot in the TouchChip module non-volatile memory. |
int |
enrolIdentity(byte[] identity)
Enrol finger print template in the TouchChip module non-volatile memory. |
int |
enrolIdentity(java.lang.String identity)
Enrol finger print template in the TouchChip module non-volatile memory. |
AnsiIso |
getIdentity(int imageSize,
int imageFormat,
int imageCompression,
TouchChip.ImageReceiver receiver)
Gets a finger print data in different formats. |
java.lang.String |
getLibraryInformation()
Return TouchChip library information. |
byte[] |
getTemplate(int format)
Get scanned template data. |
byte[] |
getTemplate(int format,
int slot)
Get template data from specific slot. |
int[] |
listSlots()
Lists all slots in which there is an enrolled template. |
int |
setTemplate(int format,
byte[] data)
Set template data to into TouchChip module non-volatile memory. |
void |
wipeIdentity()
Wipe identity content. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int IMAGE_SIZE_SMALL
public static final int IMAGE_SIZE_LARGE
public static final int IMAGE_FORMAT_ANSI
public static final int IMAGE_FORMAT_ISO
public static final int IMAGE_COMPRESSION_NONE
public static final int TEMPLATE_FORMAT_NATIVE
public static final int TEMPLATE_FORMAT_ANSI
public static final int TEMPLATE_FORMAT_ISO_FMR
public static final int TEMPLATE_FORMAT_ISO_FMC_N
public static final int TEMPLATE_FORMAT_ISO_FMC_C
| Method Detail |
|---|
public int enrolIdentity(byte[] identity)
throws TouchChipException,
java.io.IOException
identity - the template identification. The parameter can be maximum 100 symbols long.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public int enrolIdentity(java.lang.String identity)
throws TouchChipException,
java.io.IOException
identity - the template identification. The parameter can be maximum 100 characters long.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public void deleteIdentity(int slot)
throws TouchChipException,
java.io.IOException
slot - the slot number. If slot number is 0xFF then all templates shall be deleted.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public TouchChip.Identity checkIdentity()
throws TouchChipException,
java.io.IOException
The finger print is compared with the already enrolled templates and if there is a match, the number of the slot and the associated data is returned.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public int[] listSlots()
throws TouchChipException,
java.io.IOException
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public AnsiIso getIdentity(int imageSize,
int imageFormat,
int imageCompression,
TouchChip.ImageReceiver receiver)
throws TouchChipException,
java.io.IOException
imageSize - the image size, one of IMAGE_SIZE_* constant values.imageFormat - the image format, one of IMAGE_FORMAT_* constant values.imageCompression - the compression type, one of IMAGE_COMPRESSION_* constant values.receiver - a callback interface to notify when image data is received.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public void wipeIdentity()
throws TouchChipException,
java.io.IOException
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public java.lang.String getLibraryInformation()
throws TouchChipException,
java.io.IOException
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public byte[] getTemplate(int format)
throws TouchChipException,
java.io.IOException
format - the template format, one of TEMPLATE_FORMAT_* constant values.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public byte[] getTemplate(int format,
int slot)
throws TouchChipException,
java.io.IOException
format - the template format, one of TEMPLATE_FORMAT_* constant values.slot - the slot number.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
public int setTemplate(int format,
byte[] data)
throws TouchChipException,
java.io.IOException
format - the template format, one of TEMPLATE_FORMAT_* constant values.data - the template data.
TouchChipException - if and TouchChip error occurs.
java.io.IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||