Share via


ActivityInfo.MaxRecents Property

Definition

The maximum number of tasks rooted at this activity that can be in the recent task list.

[Android.Runtime.Register("maxRecents")]
public int MaxRecents { get; set; }
[<Android.Runtime.Register("maxRecents")>]
member this.MaxRecents : int with get, set

Property Value

Attributes

Remarks

The maximum number of tasks rooted at this activity that can be in the recent task list. Refer to android.R.attr#maxRecents.

Java documentation for android.content.pm.ActivityInfo.maxRecents.

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