次の方法で共有


ActivityManager.RecentTaskInfo.PersistentId Property

Definition

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

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

Property Value

Attributes

Remarks

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

This member is deprecated. As of android.os.Build.VERSION_CODES#Q, use RecentTaskInfo#taskId.

Java documentation 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