Android.Content.Intent.MakeRestartActivityTask Method
Make an Intent that can be used to re-launch an application's task in its base state.

Syntax

[Android.Runtime.Register("makeRestartActivityTask", "(Landroid/content/ComponentName;)Landroid/content/Intent;", "")]
public static Intent MakeRestartActivityTask (ComponentName mainActivity)

Parameters

mainActivity
The activity component that is the root of the task; this is the activity that has been published in the application's manifest as the main launcher icon.

Returns

Documentation for this section has not yet been entered.

Remarks

Make an Intent that can be used to re-launch an application's task in its base state. This is like Intent.MakeMainActivity(ComponentName), but also sets the flags Intent.FLAG_ACTIVITY_NEW_TASK and Intent.FLAG_ACTIVITY_CLEAR_TASK.

[Android Documentation]

Requirements

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