Last updated 1 year ago
The selected Temperature Unit inside of the COBI.Bike app.
const onTemperatureUnitChange = (value: TemperatureUnit, timestamp?: Date) => { console.log(value, timestamp); }; COBI.user.temperatureUnit.subscribe(onTemperatureUnitChange); COBI.user.temperatureUnit.unsubscribe(onTemperatureUnitChange);
const onTemperatureUnitChange = (value, timestamp) => { console.log(value, timestamp); }; COBI.user.temperatureUnit.subscribe(onTemperatureUnitChange); COBI.user.temperatureUnit.unsubscribe(onTemperatureUnitChange);
"CELSIUS"