Language

Notification.Metric.TimeDifference.ZeroElapsedRealtime Property

Definition

The elapsed realtime at which the time difference is zero.

public Java.Lang.Long? ZeroElapsedRealtime { [Android.Runtime.Register("getZeroElapsedRealtime", "()Ljava/lang/Long;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getZeroElapsedRealtime", "()Ljava/lang/Long;", "", ApiSince=37)>]
member this.ZeroElapsedRealtime : Java.Lang.Long

Property Value

The timestamp supplied to an elapsed-realtime timer or stopwatch, or null if this value uses an Instant or is paused. The documented timestamp range is non-negative.

Attributes

Remarks

The elapsed realtime at which the time difference is zero. Only valid for an SystemClock.elapsedRealtime()-based TimeDifference. For a running timer this is the endTime supplied to forTimer(long, int); For a running stopwatch this is the startTime supplied to forStopwatch(long, int); For running timers or stopwatches based on Instant (as well as paused timers and stopwatches), this is null.

Android reference for android.app.Notification.Metric.TimeDifference.getZeroElapsedRealtime.

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