Language

WaitingThread.Await(Date) Method

Definition

Blocks until notified, interrupted, timed out, or spuriously awakened.

[Android.Runtime.Register("await", "(Ljava/util/Date;)Z", "GetAwait_Ljava_util_Date_Handler")]
public virtual bool Await(Java.Util.Date? deadline);
[<Android.Runtime.Register("await", "(Ljava/util/Date;)Z", "GetAwait_Ljava_util_Date_Handler")>]
abstract member Await : Java.Util.Date -> bool
override this.Await : Java.Util.Date -> bool

Parameters

deadline
Date

The timeout deadline, or null to wait without a timeout.

Returns

With a deadline, the result of the condition's timed wait; without one, true when the wait returns. A true result does not guarantee that the condition was signaled.

Attributes

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