Represents the direction the device is hold in degrees, where 0 degrees is true North
const onHeadingChange = (value: number, timestamp?: Date) => { console.log(value, timestamp); }; COBI.mobile.location.subscribe(onHeadingChange); COBI.mobile.location.unsubscribe(onHeadingChange);
const onHeadingChange = (value, timestamp) => { console.log(value, timestamp); }; COBI.mobile.location.subscribe(onHeadingChange); COBI.mobile.location.unsubscribe(onHeadingChange);
Last updated 2 years ago