Partager via


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

Name Value Description
UrgentAudio -19
Audio -16

Standard priority of audio threads.

Video -10
UrgentDisplay -8
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.

MoreFavorable -1

Minimum increment to make a priority more favorable.

Default 0
LessFavorable 1

Minimum increment to make a priority less favorable.

Background 10

Standard priority background threads.

Lowest 19

Lowest available thread priority.

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