java.lang.Object | |
↳ | mason.hardware.platform.ECGSensorManager.Command |
All posible commands for ECG
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | GET_CONFIGURATION | Get the library configuration. | |||||||||
int | GET_USER_METADATA | Get the user metadata information. | |||||||||
int | GET_VERSION | Get the current version of HeartKey library version on success, the result information would send through onSensorChanged() of SensorEventListener registered by ECG_USER_CONTROL sensor | |||||||||
int | SET_SAMPLE_DATA_TYPE | Set ECG Sample data type. | |||||||||
int | SET_USERMETADATA | Set the user metadata. | |||||||||
int | START_AUTHENTICATION | Start the user id authentication transaction, comparing the input ECG with the stored enrolment profiles. | |||||||||
int | START_ENROLMENT | Start the enrollment of a new user. | |||||||||
int | UNENROL_USER_ID | Uneroll user. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the library configuration.
Get the user metadata information.
Get the current version of HeartKey library version on success, the result information would send through onSensorChanged() of SensorEventListener registered by ECG_USER_CONTROL sensor
Set ECG Sample data type.
This command should be executed with
executeWithParameter(int, CommandParameter)
Parameters that must be included when using this command are:
CommandParameter sampleDataCmd = new CommandParameter(); sampleDataCmd.addIntegerParameter("type", type);
Set the user metadata.
This command should be executed with
executeWithParameter(int, CommandParameter)
Parameters that must be included when using this command are:
CommandParameter metadataParameter = new CommandParameter(); metadataParameter.addIntegerParameter("age", 97); metadataParameter.addIntegerParameter("height", 180); metadataParameter.addIntegerParameter("weight", 10); metadataParameter.addIntegerParameter("gender", 0);
Start the user id authentication transaction, comparing the input ECG with the stored enrolment profiles.
Start the enrollment of a new user. Like any biometric, an user must first train the system with their biometric before they can authenticate.
Uneroll user.
This command should be executed with
executeWithParameter(int, CommandParameter)
Parameters that must be included when using this command are:
CommandParameter unenrolParameter = new CommandParameter(); unenrolParameter.addIntegerParameter("userHandler", uId);