Language

Notification.Metric.TimeDifference.ForTimer メソッド

定義

オーバーロード

Name 説明
ForTimer(Int64, Int32)

"実行中のタイマー" メトリックを作成します。このメトリックは、SystemClock.elapsedRealtime() 参照フレームで指定された endTime へのカウントダウンを表示します。

ForTimer(Instant, Int32)

"実行中のタイマー" メトリックを作成します。このメトリックには endTime へのカウントダウンが表示されます。

ForTimer(Int64, Int32)

"実行中のタイマー" メトリックを作成します。このメトリックは、SystemClock.elapsedRealtime() 参照フレームで指定された endTime へのカウントダウンを表示します。

[Android.Runtime.Register("forTimer", "(JI)Landroid/app/Notification$Metric$TimeDifference;", "", ApiSince=37)]
public static Android.App.Notification.Metric.TimeDifference ForTimer(long endTime, int format);
[<Android.Runtime.Register("forTimer", "(JI)Landroid/app/Notification$Metric$TimeDifference;", "", ApiSince=37)>]
static member ForTimer : int64 * int -> Android.App.Notification.Metric.TimeDifference

パラメーター

endTime
Int64

タイマーがゼロに達する経過時間。 値は、SystemClock.elapsedRealtime() 時間ベースの負以外のタイムスタンプです。

format
Int32

値は次のいずれかです: FORMAT_ADAPTIVE;FORMAT_CHRONOMETER

戻り値

属性

注釈

"実行中のタイマー" メトリックを作成します。このメトリックは、SystemClock.elapsedRealtime() 参照フレームで指定された endTime へのカウントダウンを表示します。

android.app.Notification.Metric.TimeDifference.forTimerの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

ForTimer(Instant, Int32)

"実行中のタイマー" メトリックを作成します。このメトリックには endTime へのカウントダウンが表示されます。

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

パラメーター

endTime
Instant

タイマーがゼロに達する瞬間。 この値は null にすることはできません。

format
Int32

値は次のいずれかです: FORMAT_ADAPTIVE;FORMAT_CHRONOMETER

戻り値

属性

注釈

"実行中のタイマー" メトリックを作成します。このメトリックには endTime へのカウントダウンが表示されます。

android.app.Notification.Metric.TimeDifference.forTimerの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象