ActivityManager.RecentTaskInfo.PersistentId Property

Definition

This field was deprecated in API level 29.

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

Property Value

Attributes

Remarks

This field was deprecated in API level 29. As of Build.VERSION_CODES.Q, use RecentTaskInfo.taskId.

The true identifier of this task, valid even if it is not running.

Android reference for android.app.ActivityManager.RecentTaskInfo.persistentId.

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