Language

Notification.Metric.TimeDifference.PausedDuration Property

Definition

The fixed time difference, for a paused timer or stopwatch.

public Java.Time.Duration? PausedDuration { [Android.Runtime.Register("getPausedDuration", "()Ljava/time/Duration;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPausedDuration", "()Ljava/time/Duration;", "", ApiSince=37)>]
member this.PausedDuration : Java.Time.Duration

Property Value

The fixed time difference, for a paused timer or stopwatch.

Attributes

Remarks

The fixed time difference, for a paused timer or stopwatch. For a paused timer this is the remainingTime supplied to forPausedTimer(Duration, int); For a paused stopwatch this is the elapsedTime supplied to forPausedStopwatch(Duration, int); For running timers or stopwatches this is null.

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

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