Android.OS.ThreadPriority Enumeration
Enumerates values returned by several types and taken as a parameter of the Process.SetThreadPriority, and Process.SetThreadPriority members.

Syntax

public enum ThreadPriority

Remarks

Enumerates values returned by the following: and taken as a parameter of the Process.SetThreadPriority, and Process.SetThreadPriority members.

Members

Member NameDescription
AudioStandard priority of audio threads. Applications can not normally change to this priority. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
BackgroundStandard priority background threads. This gives your thread a slightly lower than normal priority, so that it will have less chance of impacting the responsiveness of the user interface. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
DefaultStandard priority of application threads. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
DisplayStandard priority of system display threads, involved in updating the user interface. Applications can not normally change to this priority. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
ForegroundStandard priority of threads that are currently running a user interface that the user is interacting with. Applications can not normally change to this priority; the system will automatically adjust your application threads as the user moves through the UI. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
LessFavorableMinimum increment to make a priority less favorable.
LowestLowest available thread priority. Only for those who really, really don't want to run if anything else is happening. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
MoreFavorableMinimum increment to make a priority more favorable.
UrgentAudioStandard priority of the most important audio threads. Applications can not normally change to this priority. Use with Process.SetThreadPriority(ThreadPriority) and Process.SetThreadPriority(int, Android.OS.ThreadPriority), not with the normal Java.Lang.Thread class.
UrgentDisplayDocumentation for this section has not yet been entered.

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0