ActivityManager.RecentTaskInfo.Id Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This field was deprecated in API level 29.
[Android.Runtime.Register("id")]
public int Id { get; set; }
[<Android.Runtime.Register("id")>]
member this.Id : 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 to get the task id and RecentTaskInfo.isRunning to determine if it is running.
If this task is currently running, this is the identifier for it. If it is not running, this will be -1.
Android reference for android.app.ActivityManager.RecentTaskInfo.id.
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.