ThreadPriority Enum

Definition

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

public enum ThreadPriority
type ThreadPriority = 
Inheritance
ThreadPriority

Fields

Audio -16

Standard priority of audio threads.

Background 10

Standard priority background threads.

Default 0
Display -4

Standard priority of system display threads, involved in updating the user interface.

Foreground -2

Standard priority of threads that are currently running a user interface that the user is interacting with.

LessFavorable 1

Minimum increment to make a priority less favorable.

Lowest 19

Lowest available thread priority.

MoreFavorable -1

Minimum increment to make a priority more favorable.

UrgentAudio -19
UrgentDisplay -8
Video -10

Remarks

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