WaitingThread.Await(Date) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true if the condition was signaled; otherwise, false when the wait timed out.
- 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.