Compartilhar via


GnssMeasurement.TimeOffsetNanos Property

Definition

Gets the time offset at which the measurement was taken in nanoseconds.

public double TimeOffsetNanos { [Android.Runtime.Register("getTimeOffsetNanos", "()D", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getTimeOffsetNanos", "()D", "", ApiSince=24)>]
member this.TimeOffsetNanos : double

Property Value

Attributes

Remarks

Gets the time offset at which the measurement was taken in nanoseconds.

The reference receiver's time from which this is offset is specified by GnssClock#getTimeNanos().

The sign of this value is given by the following equation:

measurement time = TimeNanos + TimeOffsetNanos

The value provides an individual time-stamp for the measurement, and allows sub-nanosecond accuracy.

Java documentation for android.location.GnssMeasurement.getTimeOffsetNanos().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to