次の方法で共有


Process.MyTid Method

Definition

Returns the identifier of the calling thread, which be used with #setThreadPriority(int, int).

[Android.Runtime.Register("myTid", "()I", "")]
public static int MyTid ();
[<Android.Runtime.Register("myTid", "()I", "")>]
static member MyTid : unit -> int

Returns

Attributes

Remarks

Returns the identifier of the calling thread, which be used with #setThreadPriority(int, int).

Java documentation for android.os.Process.myTid().

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