Skip to main content
. 2014 Dec 1;20(12):1093–1102. doi: 10.1089/tmj.2014.0008

Table 1.

Key Application Programming Interfaces

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.