A location can consist of a latitude, longitude, timestamp and other information such as bearing, altitude and velocity.
constonLocationChange= (value:Location, timestamp?:Date) => {console.log(value, timestamp);};COBI.mobile.location.read(onLocationChange); // Instantly get the current valueCOBI.mobile.location.subscribe(onLocationChange);COBI.mobile.location.unsubscribe(onLocationChange);
constonLocationChange= (value, timestamp) => {console.log(value, timestamp);};COBI.mobile.location.read(onLocationChange); // Instantly get the current valueCOBI.mobile.location.subscribe(onLocationChange);COBI.mobile.location.unsubscribe(onLocationChange);