Language

Notification.Metric.TimeDifference.ForPausedTimer(Duration, Int32) Method

Definition

Creates a "paused timer" metric, showing the remainingTime.

[Android.Runtime.Register("forPausedTimer", "(Ljava/time/Duration;I)Landroid/app/Notification$Metric$TimeDifference;", "", ApiSince=37)]
public static Android.App.Notification.Metric.TimeDifference ForPausedTimer(Java.Time.Duration remainingTime, int format);
[<Android.Runtime.Register("forPausedTimer", "(Ljava/time/Duration;I)Landroid/app/Notification$Metric$TimeDifference;", "", ApiSince=37)>]
static member ForPausedTimer : Java.Time.Duration * int -> Android.App.Notification.Metric.TimeDifference

Parameters

remainingTime
Duration
format
Int32

Value is one of the following: FORMAT_ADAPTIVE; FORMAT_CHRONOMETER

Returns

Attributes

Remarks

Creates a "paused timer" metric, showing the remainingTime.

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

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