Android.App.LocalActivityManager.DestroyActivity Method
Destroy the activity associated with a particular id.

Syntax

[Android.Runtime.Register("destroyActivity", "(Ljava/lang/String;Z)Landroid/view/Window;", "GetDestroyActivity_Ljava_lang_String_ZHandler")]
public virtual Android.Views.Window DestroyActivity (string id, bool finish)

Parameters

id
Unique identifier of the activity to be destroyed
finish
If true, this activity will be finished, so its id and all state are removed from the group.

Returns

Documentation for this section has not yet been entered.

Remarks

Destroy the activity associated with a particular id. This activity will go through the normal lifecycle events and fine onDestroy(), and then the id removed from the group.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1