ActivityManager.RecentTaskInfo.PersistentId 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個任務的真實識別碼,即使它沒有執行,也同樣有效。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。