Android Guides | Samples

Java.Lang.Thread.State Class

A representation of a thread's state.

See Also: Thread+State

Syntax

[Android.Runtime.Register("java/lang/Thread$State", DoNotGenerateAcw=true)]
public sealed class Thread.State : Enum

Remarks

A representation of a thread's state. A given thread may only be in one state at a time.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Thread.State are listed below.

See Also: Enum

Public Properties

[read-only]
static
BlockedThread+State. The thread is blocked and waiting for a lock.
[read-only]
static
NewThread+State. The thread has been created, but has never been started.
[read-only]
static
RunnableThread+State. The thread may be run.
[read-only]
static
TerminatedThread+State. The thread has been terminated.
[read-only]
static
TimedWaitingThread+State. The thread is waiting for a specified amount of time.
[read-only]
static
WaitingThread+State. The thread is waiting.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods