言語

IDelayed.GetDelay(TimeUnit) メソッド

定義

指定された時間単位で、このオブジェクトに関連付けられている残りの遅延を返します。

[Android.Runtime.Register("getDelay", "(Ljava/util/concurrent/TimeUnit;)J", "GetGetDelay_Ljava_util_concurrent_TimeUnit_Handler:Java.Util.Concurrent.IDelayedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetDelay(Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("getDelay", "(Ljava/util/concurrent/TimeUnit;)J", "GetGetDelay_Ljava_util_concurrent_TimeUnit_Handler:Java.Util.Concurrent.IDelayedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDelay : Java.Util.Concurrent.TimeUnit -> int64

パラメーター

unit
TimeUnit

時間単位

返品

残りの遅延。0 または負の値は、遅延が既に経過していることを示します

属性

注釈

指定された時間単位で、このオブジェクトに関連付けられている残りの遅延を返します。

Javaドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象