語言

ActivityManager.RecentTaskInfo.PersistentId 屬性

定義

這個任務的真實識別碼,即使它沒有執行,也同樣有效。

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

屬性值

屬性

備註

此欄位在 API 等級 29 中被棄用。 截至Build.VERSION_CODES年。問:使用 RecentTaskInfo.taskId。

這個任務的真實識別碼,即使它沒有執行,也同樣有效。

Android 參考資料。android.app.ActivityManager.RecentTaskInfo.persistentId

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於