Condividi tramite


Instrumentation.CallActivityOnStop(Activity) Method

Definition

Perform calling of an activity's Activity#onStop method.

[Android.Runtime.Register("callActivityOnStop", "(Landroid/app/Activity;)V", "GetCallActivityOnStop_Landroid_app_Activity_Handler")]
public virtual void CallActivityOnStop (Android.App.Activity? activity);
[<Android.Runtime.Register("callActivityOnStop", "(Landroid/app/Activity;)V", "GetCallActivityOnStop_Landroid_app_Activity_Handler")>]
abstract member CallActivityOnStop : Android.App.Activity -> unit
override this.CallActivityOnStop : Android.App.Activity -> unit

Parameters

activity
Activity

The activity being stopped.

Attributes

Remarks

Perform calling of an activity's Activity#onStop method. The default implementation simply calls through to that method.

Java documentation for android.app.Instrumentation.callActivityOnStop(android.app.Activity).

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