共用方式為


LocalActivityManager.RemoveAllActivities Method

Definition

Caution

deprecated

Remove all activities from this LocalActivityManager, performing an Activity#onDestroy on any that are currently instantiated.

[Android.Runtime.Register("removeAllActivities", "()V", "GetRemoveAllActivitiesHandler")]
[System.Obsolete("deprecated")]
public virtual void RemoveAllActivities ();
[<Android.Runtime.Register("removeAllActivities", "()V", "GetRemoveAllActivitiesHandler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveAllActivities : unit -> unit
override this.RemoveAllActivities : unit -> unit
Attributes

Remarks

Remove all activities from this LocalActivityManager, performing an Activity#onDestroy on any that are currently instantiated.

Java documentation for android.app.LocalActivityManager.removeAllActivities().

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