ICondition.AwaitUntil(Date) Method

Definition

Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses.

[Android.Runtime.Register("awaitUntil", "(Ljava/util/Date;)Z", "GetAwaitUntil_Ljava_util_Date_Handler:Java.Util.Concurrent.Locks.IConditionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool AwaitUntil (Java.Util.Date deadline);
abstract member AwaitUntil : Java.Util.Date -> bool

Parameters

deadline
Date

the absolute time to wait until

Returns

Boolean
Attributes

Exceptions

if the current thread is interrupted (and interruption of thread suspension is supported)

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