SystemClock.ElapsedRealtimeNanos Method

Definition

Returns nanoseconds since boot, including time spent in sleep.

[Android.Runtime.Register("elapsedRealtimeNanos", "()J", "")]
public static long ElapsedRealtimeNanos ();
[<Android.Runtime.Register("elapsedRealtimeNanos", "()J", "")>]
static member ElapsedRealtimeNanos : unit -> int64

Returns

elapsed nanoseconds since boot.

Attributes

Remarks

Returns nanoseconds since boot, including time spent in sleep.

Java documentation for android.os.SystemClock.elapsedRealtimeNanos().

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