Instrumentation.ActivityMonitor.WaitForActivity Method

Definition

Block until an Activity is created that matches this monitor, returning the resulting activity.

[Android.Runtime.Register("waitForActivity", "()Landroid/app/Activity;", "")]
public Android.App.Activity WaitForActivity ();
[<Android.Runtime.Register("waitForActivity", "()Landroid/app/Activity;", "")>]
member this.WaitForActivity : unit -> Android.App.Activity

Returns

Activity

Attributes

Remarks

Block until an Activity is created that matches this monitor, returning the resulting activity.

Java documentation for android.app.Instrumentation.ActivityMonitor.waitForActivity().

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