Activity.TaskId 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.
Return the identifier of the task this activity is in.
public virtual int TaskId { [Android.Runtime.Register("getTaskId", "()I", "GetGetTaskIdHandler")] get; }
[<get: Android.Runtime.Register("getTaskId", "()I", "GetGetTaskIdHandler")>]
member this.TaskId : int
Property Value
Task identifier, an opaque integer.
- Attributes
Remarks
Return the identifier of the task this activity is in. This identifier will remain the same for the lifetime of the activity.
Java documentation for android.app.Activity.getTaskId()
.
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.