Table 1.
registerDataListener(callback(data), data_type, update_interval) |
* data_type=RAW_DATA | HR | HRV |
* update_interval |
- The unit of millisecond (larger than 50 ms) for RAW_DATA, |
- The unit of second for HR, |
- 1 | 2 | 5 minutes for HRV |
class RAW_DATA { long timestamp; double [] raw_data; } |
class HR { long timestamp; int HR; } |
class HRV{ long timestamp; float LF; float HF; float LF/HF;…}; |
HR, heart rate; HRV, heart rate variability; HF, high frequency; LF, low frequency.