TimeUnit.TimedWait(Object, Int64) TimeUnit.TimedWait(Object, Int64) Method

Definition

Performs a timed Wait(Int64, Int32) using this time unit.

[Android.Runtime.Register("timedWait", "(Ljava/lang/Object;J)V", "")]
public void TimedWait (Java.Lang.Object obj, long timeout);
member this.TimedWait : Java.Lang.Object * int64 -> unit

Parameters

obj
Object Object

the object to wait on

timeout
Int64 Int64

the maximum time to wait. If less than or equal to zero, do not wait at all.

Exceptions

if interrupted while waiting

Remarks

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