语言

ActivityInfo.MaxRecents 属性

定义

此活动中可位于最近任务列表中的最大根任务数。

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

属性值

可将此活动作为根任务的最大最近任务数。

特性

注解

此活动中可位于最近任务列表中的最大根任务数。 请参阅 android.R.attr#maxRecents。

Java文档android.content.pm.ActivityInfo.maxRecents。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于