Language

PowerMonitorReadings.GetTimestampMillis(PowerMonitor) Method

Definition

Elapsed realtime, in milliseconds, when the snapshot was taken.

[Android.Runtime.Register("getTimestampMillis", "(Landroid/os/PowerMonitor;)J", "", ApiSince=35)]
public long GetTimestampMillis(Android.OS.PowerMonitor powerMonitor);
[<Android.Runtime.Register("getTimestampMillis", "(Landroid/os/PowerMonitor;)J", "", ApiSince=35)>]
member this.GetTimestampMillis : Android.OS.PowerMonitor -> int64

Parameters

powerMonitor
PowerMonitor

The value cannot be null.

Returns

Value is a non-negative timestamp in the SystemClock.elapsedRealtime() time base.

Attributes

Remarks

Elapsed realtime, in milliseconds, when the snapshot was taken.

Java documentation for android.os.PowerMonitorReadings.getTimestampMillis(android.os.PowerMonitor).

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