# RenderScript.Priority

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Priority

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/renderscript/RenderScript.Priority "View this page in Java")  

```
class Priority
```

|---|---|------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                              |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[android.renderscript.RenderScript.Priority](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#)\> ||
|   | ↳ | [android.renderscript.RenderScript.Priority](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#) |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [RenderScript.Priority.LOW](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:LOW),[RenderScript.Priority.NORMAL](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:NORMAL) |---------------------------------------------------------------------------------------------------------------------------------------------|--------| | [RenderScript.Priority.LOW](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:LOW)       | <br /> | | [RenderScript.Priority.NORMAL](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:NORMAL) | <br /> | |

*** ** * ** ***

| **This enum was deprecated in API level 31.**
|
| Deprecated in Java.

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                                                           ||
|------------------------------------------------------------------------------------------------------------------------------|---|
| [LOW](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:LOW) <br />       |
| [NORMAL](https://developer.android.com/reference/kotlin/android/renderscript/RenderScript.Priority#ENUM_VALUE:NORMAL) <br /> |

## Enum values

### LOW

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val LOW : RenderScript.Priority
```

**Deprecated:** *Deprecated in Java.*  

### NORMAL

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val NORMAL : RenderScript.Priority
```

**Deprecated:** *Deprecated in Java.*