Sdílet prostřednictvím


GnssClock.ElapsedRealtimeNanos Property

Definition

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

public long ElapsedRealtimeNanos { [Android.Runtime.Register("getElapsedRealtimeNanos", "()J", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getElapsedRealtimeNanos", "()J", "", ApiSince=29)>]
member this.ElapsedRealtimeNanos : int64

Property Value

Attributes

Remarks

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

The value is only available if #hasElapsedRealtimeNanos() is true.

Java documentation for android.location.GnssClock.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