我从LocationResult得到了以下位置对象,我想知道是什么 et 时间戳是?
et
Location[fused 37.421998,-122.084000, hAcc=12.236 et=+3d16h46m21s252ms alt=154.0 vAcc=1.6407026 vel=1.2971644 sAcc=1.5 bear=15.871763 bAcc=45.0]
我在文档中也找不到任何有用的信息。
如果你看 the source code to Location ,你会看到的 toString() 包括:
Location
toString()
s.append(" et="); TimeUtils.formatDuration(getElapsedRealtimeMillis(), s);
所以 et 是的值 getElapsedRealtimeMillis() 根据 the documentation ,即“自系统启动以来,此修复的实时运行时间(以毫秒为单位)”。
getElapsedRealtimeMillis()