Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b2ad309 authored by Pierre Fite-Georgel's avatar Pierre Fite-Georgel Committed by android-build-merger
Browse files

Merge "Adding documentation to getElapsedRealtimeUncertaintyNanos following...

Merge "Adding documentation to getElapsedRealtimeUncertaintyNanos following api council guidance." into qt-dev
am: 433bb845

Change-Id: I8e02c701cffb7ad91b84f425be63536eb4c14ded
parents 38628607 433bb845
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -599,6 +599,14 @@ public class Location implements Parcelable {
     * ElapsedRealtimeNanos timestamp, with the reported measurements in
     * nanoseconds (68% confidence).
     *
     * This means that we have 68% confidence that the true timestamp of the
     * event is within ElapsedReatimeNanos +/- uncertainty.
     *
     * Example :
     *   - getElapsedRealtimeNanos() returns 10000000
     *   - getElapsedRealtimeUncertaintyNanos() returns 1000000 (equivalent to 1millisecond)
     *   This means that the event most likely happened between 9000000 and 11000000.
     *
     * @return uncertainty of elapsed real-time of fix, in nanoseconds.
     */
    public double getElapsedRealtimeUncertaintyNanos() {