Partager via


Thread.GetState Method

Definition

Returns the state of this thread.

[Android.Runtime.Register("getState", "()Ljava/lang/Thread$State;", "GetGetStateHandler")]
public virtual Java.Lang.Thread.State GetState ();
[<Android.Runtime.Register("getState", "()Ljava/lang/Thread$State;", "GetGetStateHandler")>]
abstract member GetState : unit -> Java.Lang.Thread.State
override this.GetState : unit -> Java.Lang.Thread.State

Returns

this thread's state.

Attributes

Remarks

Java documentation for java.lang.Thread.getState().

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