Language

GnssStatus.GetElapsedRealtimeNanos(Int32) Method

Definition

Returns the elapsed real-time of this GnssStatus since system boot, in nanoseconds.

[Android.Runtime.Register("getElapsedRealtimeNanos", "(I)J", "", ApiSince=37)]
public long GetElapsedRealtimeNanos(int satelliteIndex);
[<Android.Runtime.Register("getElapsedRealtimeNanos", "(I)J", "", ApiSince=37)>]
member this.GetElapsedRealtimeNanos : int -> int64

Parameters

satelliteIndex
Int32

An index from zero to #getSatelliteCount() - 1 <p>The value is only available if #hasElapsedRealtimeNanos() is true.

Returns

Value is 0 or greater

Attributes

Remarks

Returns the elapsed real-time of this GnssStatus since system boot, in nanoseconds.

Android reference for android.location.GnssStatus.getElapsedRealtimeNanos.

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