Last updated 1 year ago
The type of bike you are using
const onBikeTypeChange = (value: BikeType, timestamp?: Date) => { console.log(value, timestamp); }; COBI.bike.type.read(onBikeTypeChange); COBI.bike.type.subscribe(onBikeTypeChange); COBI.bike.type.unsubscribe(onBikeTypeChange);
const onBikeTypeChange = (value, timestamp) => { console.log(value, timestamp); }; COBI.bike.type.read(onBikeTypeChange); COBI.bike.type.subscribe(onBikeTypeChange); COBI.bike.type.unsubscribe(onBikeTypeChange);
"CITY"