User record structure for use with fingerprint reader databases.
This structure contains a user ID (used as a database key) and an optional collection of associated data. A record of this type is stored for each enrolment into a fingerprint database.
Thread safety:
Public Member Functions | |
FingerprintUserRecord () | |
Default construction - empty ID string, no user data. | |
FingerprintUserRecord (@NonNull String ID, @NonNull byte[] data) | |
Construction, with given ID and data. More... | |
void | setUserData (@NonNull byte[] newData) |
Set the user data for this record. More... | |
void | setUserID (@NonNull String newID) |
Set the user ID for this record. More... | |
byte [] | userData () |
Query the user data for this record. More... | |
String | userID () |
Query the user ID for this record; this should uniquely identify a user. More... | |
FingerprintUserRecord | ( | @NonNull String | ID, |
@NonNull byte [] | data | ||
) |
Construction, with given ID and data.
ID | Initial value of UserID field; must uniquely identify the user |
data | Initial value of UserData field |
void setUserData | ( | @NonNull byte [] | newData | ) |
Set the user data for this record.
newData | New user data for this record, or an empty byte array if there isn't any |
void setUserID | ( | @NonNull String | newID | ) |
Set the user ID for this record.
newID | New user ID string for this record; must uniquely identify the user in question |
byte [] userData | ( | ) |
Query the user data for this record.
String userID | ( | ) |
Query the user ID for this record; this should uniquely identify a user.