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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# RenderScript.Priority\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPriority\n========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/renderscript/RenderScript.Priority \"View this page in Java\") \n\n```\nclass Priority\n```\n\n|---|---|-------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.renderscript.RenderScript.Priority](#)\\\u003e ||\n| | ↳ | [android.renderscript.RenderScript.Priority](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [RenderScript.Priority.LOW](#ENUM_VALUE:LOW), [RenderScript.Priority.NORMAL](#ENUM_VALUE:NORMAL) |----------------------------------------------------|--------| | [RenderScript.Priority.LOW](#ENUM_VALUE:LOW) | \u003cbr /\u003e | | [RenderScript.Priority.NORMAL](#ENUM_VALUE:NORMAL) | \u003cbr /\u003e | |\n\n*** ** * ** ***\n\n| **This enum was deprecated in API level 31.**\n|\n| Deprecated in Java.\n\nRenderScript 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.\n\nSummary\n-------\n\n| Enum values ||\n|-------------------------------------|---|\n| [LOW](#ENUM_VALUE:LOW) \u003cbr /\u003e |\n| [NORMAL](#ENUM_VALUE:NORMAL) \u003cbr /\u003e |\n\nEnum values\n-----------\n\n### LOW\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val LOW : RenderScript.Priority\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### NORMAL\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NORMAL : RenderScript.Priority\n```\n\n**Deprecated:** *Deprecated in Java.*"]]