| Modifier and Type | Class and Description |
|---|---|
static class |
NFTemplate.RecordCollection
Collection of NFRecords.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_RECORD_COUNT
The maximum number of finger records NFTemplate can contain.
|
static int |
PROCESS_FIRST_RECORD_ONLY
The flag indicating whether only the first finger record should be unpacked or packed while unpacking or packing NFTemplate.
|
| Constructor and Description |
|---|
NFTemplate()
Initializes a new instance of the NFTemplate class.
|
NFTemplate(boolean isPalm)
Initializes a new instance of the NFTemplate class.
|
NFTemplate(boolean isPalm,
int flags)
Initializes a new instance of the NFTemplate class.
|
NFTemplate(ByteBuffer buffer)
Initializes a new instance of the NFTemplate class.
|
NFTemplate(int flags)
Initializes a new instance of the NFTemplate class.
|
NFTemplate(com.neurotec.io.NBuffer buffer)
Initializes a new instance of the NFTemplate class.
|
NFTemplate(com.neurotec.io.NBuffer buffer,
int flags)
Initializes a new instance of the NFTemplate class.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateSize(boolean isPalm,
int[] recordSizes)
Calculates NFTemplate size.
|
static int |
calculateSize(int[] recordSizes)
Calculates NFTemplate size.
|
static void |
check(ByteBuffer buffer)
Checks if memory buffer contains a valid NFTemplate object.
|
static void |
check(com.neurotec.io.NBuffer buffer)
Checks if memory buffer contains a valid NFTemplate object.
|
static int |
getRecordCount(ByteBuffer buffer)
Retrieves records count.
|
static int |
getRecordCount(com.neurotec.io.NBuffer buffer)
Retrieves records count.
|
NFTemplate.RecordCollection |
getRecords()
Gets collection of records in the NFTemplate.
|
static int |
getSize(ByteBuffer buffer)
Gets the size of packed NFTemplate.
|
static int |
getSize(com.neurotec.io.NBuffer buffer)
Gets the size of packed NFTemplate.
|
boolean |
isPalm()
Checks if the NFTemplate contains palm records.
|
static boolean |
isPalm(ByteBuffer buffer)
Checks if the NFTemplate contains packed palm records.
|
static boolean |
isPalm(com.neurotec.io.NBuffer buffer)
Checks if the NFTemplate contains packed palm records.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
addListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic static final int MAX_RECORD_COUNT
public static final int PROCESS_FIRST_RECORD_ONLY
public NFTemplate()
public NFTemplate(int flags)
The following flags are supported:
flags - Bitwise combination of zero or more flags that controls behavior of the constructor.public NFTemplate(boolean isPalm)
isPalm - Boolean value indicating the type of NFTemplate.
If set to true, NFTemplate contains palmprint record.
If set to false, NFTemplate contains fingerprint record.public NFTemplate(boolean isPalm,
int flags)
isPalm - Boolean value indicating the type of NFTemplate.flags - Bitwise combination of zero or more flags that controls behavior of the constructor.
If set to true, NFTemplate contains palmprint record.
If set to false, NFTemplate contains fingerprint record.public NFTemplate(ByteBuffer buffer)
buffer - ByteBuffer that contains packed NFTemplate.public NFTemplate(com.neurotec.io.NBuffer buffer)
buffer - NBuffer that contains packed NFTemplate.public NFTemplate(com.neurotec.io.NBuffer buffer,
int flags)
buffer - NBuffer that contains packed NFTemplate.flags - Bitwise combination of zero or more flags that controls behavior of the constructor.
This parameter is reserved, must be zero.public static com.neurotec.lang.NType nativeTypeOf()
public static int calculateSize(int[] recordSizes)
recordSizes - An array that contains NFRecords sizes.public static int calculateSize(boolean isPalm,
int[] recordSizes)
isPalm - Indicates if the record contains palms.recordSizes - An array that contains NFRecords sizes.public static void check(ByteBuffer buffer)
buffer - ByteBuffer containing a NFTemplate.public static void check(com.neurotec.io.NBuffer buffer)
buffer - NBuffer containing a NFTemplate.public static boolean isPalm(ByteBuffer buffer)
buffer - ByteBuffer that contains packed NFTemplate.public static boolean isPalm(com.neurotec.io.NBuffer buffer)
buffer - NBuffer that contains packed NFTemplate.public static int getSize(ByteBuffer buffer)
buffer - ByteBuffer that contains packed NFTemplate.public static int getSize(com.neurotec.io.NBuffer buffer)
buffer - NBuffer that contains packed NFTemplate.public static int getRecordCount(ByteBuffer buffer)
buffer - ByteBuffer that contains packed NFTemplate.public static int getRecordCount(com.neurotec.io.NBuffer buffer)
buffer - NBuffer that contains packed NFTemplate.public boolean isPalm()
true if NFTemplate contains palm records; otherwise, false.public NFTemplate.RecordCollection getRecords()
Copyright © 2016 Neurotechnology. All rights reserved.