The total movement duration — in seconds.
const onRidingDurationChange = (value: number, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.tourService.ridingDuration.subscribe(onRidingDurationChange);
COBI.tourService.ridingDuration.unsubscribe(onRidingDurationChange);
const onRidingDurationChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.tourService.ridingDuration.subscribe(onRidingDurationChange);
COBI.tourService.ridingDuration.unsubscribe(onRidingDurationChange);