Partager via


HandlerThread.ThreadId Property

Definition

Returns the identifier of this thread.

public virtual int ThreadId { [Android.Runtime.Register("getThreadId", "()I", "GetGetThreadIdHandler")] get; }
[<get: Android.Runtime.Register("getThreadId", "()I", "GetGetThreadIdHandler")>]
member this.ThreadId : int

Property Value

Attributes

Remarks

Returns the identifier of this thread. See Process.myTid().

Java documentation for android.os.HandlerThread.getThreadId().

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