Process.WaitFor Process.WaitFor Method

Definition

Overloads

WaitFor() WaitFor()

Causes the calling thread to wait for the native process associated with this object to finish executing.

WaitFor(Int64, TimeUnit) WaitFor(Int64, TimeUnit)

WaitFor() WaitFor()

Causes the calling thread to wait for the native process associated with this object to finish executing.

[Android.Runtime.Register("waitFor", "()I", "GetWaitForHandler")]
public abstract int WaitFor ();
abstract member WaitFor : unit -> int

Returns

Exceptions

if the calling thread is interrupted.

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.

WaitFor(Int64, TimeUnit) WaitFor(Int64, TimeUnit)

[Android.Runtime.Register("waitFor", "(JLjava/util/concurrent/TimeUnit;)Z", "GetWaitFor_JLjava_util_concurrent_TimeUnit_Handler", ApiSince=26)]
public virtual bool WaitFor (long timeout, Java.Util.Concurrent.TimeUnit unit);
abstract member WaitFor : int64 * Java.Util.Concurrent.TimeUnit -> bool
override this.WaitFor : int64 * Java.Util.Concurrent.TimeUnit -> bool

Parameters

timeout
Int64 Int64

Returns

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