Heart Rate

Heart Rate — in bpm. Unifies all the sources for heart rate.

When heart rate is reported from different sensors, only the most accurate one is reported on this property.

const onHeartRateChange = (value: number, timestamp?: Date) => {
    console.log(value, timestamp);
};

COBI.rideService.heartRate.subscribe(onHeartRateChange);
COBI.rideService.heartRate.unsubscribe(onHeartRateChange);

Last updated