Last updated 1 year ago
Defines the current status of the navigation engine
const onStatusChange = (value: NavigationStatus, timestamp?: Date) => { console.log(value, timestamp); }; COBI.navigationService.status.subscribe(onDistanceChange); COBI.navigationService.status.unsubscribe(onDistanceChange);
const onStatusChange = (value, timestamp) => { console.log(value, timestamp); }; COBI.navigationService.status.subscribe(onDistanceChange); COBI.navigationService.status.unsubscribe(onDistanceChange);