Class encapsulating fingerprint template data plus associated metadata.
This structure is used by FingerprintListener to deliver the results of successful fingerprint template captures to the user.
Thread safety:
Classes | |
enum | TypeID |
Enumeration of fingerprint template types for capture and enrolment functions. More... | |
Public Member Functions | |
FingerprintTemplate () | |
Default construction - null (empty) Template. | |
FingerprintTemplate (@NonNull byte[] initData, @NonNull TypeID initType) | |
Construction with given template type and data. More... | |
byte [] | data () |
Query the contents of the fingerprint template. More... | |
void | setData (@NonNull byte[] newData) |
Set the contents of the fingerprint template. More... | |
void | setTemplateType (@NonNull TypeID newType) |
Set the type of template data represented by the object. More... | |
TypeID | templateType () |
Query the type of template data represented by the object. More... | |
String | typeName () |
Obtain the name of the current template type ID. More... | |
Static Public Member Functions | |
static String | typeName (@NonNull TypeID templateType) |
Obtain the name of a given Template type ID. More... | |
FingerprintTemplate | ( | @NonNull byte [] | initData, |
@NonNull TypeID | initType | ||
) |
Construction with given template type and data.
initData | Initial value of the template data, passed by copy |
initType | Initial value of the template type ID |
byte [] data | ( | ) |
Query the contents of the fingerprint template.
void setData | ( | @NonNull byte [] | newData | ) |
Set the contents of the fingerprint template.
newData | Template contents, represented in the specified format |
void setTemplateType | ( | @NonNull TypeID | newType | ) |
Set the type of template data represented by the object.
newType | New template type in the TypeID format |
TypeID templateType | ( | ) |
Query the type of template data represented by the object.
String typeName | ( | ) |
Obtain the name of the current template type ID.
|
static |
Obtain the name of a given Template type ID.
templateType | The type of Template which is being queried |