Added in API level 11
Deprecated in API level 31

RenderScript.Priority


public static final enum RenderScript.Priority
extends Enum<RenderScript.Priority>

java.lang.Object
   ↳ java.lang.Enum<android.renderscript.RenderScript.Priority>
     ↳ android.renderscript.RenderScript.Priority


RenderScript worker thread priority enumeration. The default value is NORMAL. Applications wishing to do background processing should set their priority to LOW to avoid starving forground processes.

Summary

Enum values

RenderScript.Priority  LOW

 

RenderScript.Priority  NORMAL

 

Public methods

static RenderScript.Priority valueOf(String name)
static final Priority[] values()

Inherited methods

Enum values

LOW

Added in API level 11
public static final RenderScript.Priority LOW

NORMAL

Added in API level 11
public static final RenderScript.Priority NORMAL

Public methods

valueOf

public static RenderScript.Priority valueOf (String name)

Parameters
name String

Returns
RenderScript.Priority

values

public static final Priority[] values ()

Returns
Priority[]