geolocation - Android.Location.toString() interpretation of `et` -
when use .tostring() method on location
object have results this:
location[gps 01.234567,12.234567 acc=14 et=+2d23h36m34s870ms alt=123.0 vel=0.0 {bundle[mparcelleddata.datasize=40]} ]
(i added newlines better readability)
i guess (after research here: link):
acc=14
accurracy in metersvel=0
velocity in meters/secondalt=123
altitude above wgs reference ellipsoid in meters
but et=+2d23h36m34s870ms
?
according javadocs:
/** * return time of fix, in elapsed real-time since system boot. * *
this value can reliably compared * {@link android.os.systemclock#elapsedrealtimenanos}, * calculate age of fix , compare location fixes. * reliable because elapsed real-time guaranteed monotonic * each system boot , continues increment when system * in deep sleep (unlike {@link #gettime}. * *
all locations generated {@link locationmanager} * guaranteed have valid elapsed real-time. * * @return elapsed real-time of fix, in nanoseconds since system boot. */
public long getelapsedrealtimenanos() { return melapsedrealtimenanos; }
tostring
code relevant et
if (melapsedrealtimenanos == 0) { s.append(" et=?!?"); } else { s.append(" et="); timeutils.formatduration(melapsedrealtimenanos / 1000000l, s); }
and way meaning of how long has been since location last updated
Comments
Post a Comment