How to get a current Heart Rate count without scanning, just to show this information in a Watch Face?

How to get a current Heart Rate count without scanning, just to show this information in a Watch Face?

BY 06 Mar 2017 General Support

Could you help me? I’m looking for a way how to show a current Heart Rate count without scanning in a Watch Face (Gear S3, Tizen 2.3.2). I’ve already found the way below, but it isn’t suitable because it makes scanning.

 

window.webapis.motion.start(“HRM”, onchangedCB(hrmInfo){
    if(hrmInfo.heartRate > 0) {
        heartRateEl.innerHTML = hrmInfo.heartRate + “bpm”;
    } else {
        heartRateEl.innerHTML = “No heart rate detected.”;
    }
});
webapis.motion.stop(“HRM”);

 

Is it possible to get a count from S Health that measures Heart Rate itself periodically?

For example the native Watch Face ‘Gear Dashboard’ shows actual Heart Rate count.

Thanks!

Written by