If the cadence is available from any sensor
const onCadenceAvailabilityChange = (value: boolean, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.rideService.cadenceAvailability.subscribe(onCadenceAvailabilityChange);
COBI.rideService.cadenceAvailability.unsubscribe(onCadenceAvailabilityChange);
const onCadenceAvailabilityChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.rideService.cadenceAvailability.subscribe(onCadenceAvailabilityChange);
COBI.rideService.cadenceAvailability.unsubscribe(onCadenceAvailabilityChange);