Stay organized with collections
Save and categorize content based on your preferences.
@Documented
@UnstableApi
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(open = true, value = )
public annotation C.Priority
A value indicating the priority of a operation.
Larger values indicate higher priorities, but values should not exceed PRIORITY_MAX
.
The predefined priority values are used by default and it's recommended to align any custom values relative to these defaults (for example, C.PRIORITY_PLAYBACK - 1
.
Predefined values are (in descending priority order):
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-07-17 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-07-17 UTC."],[],[],null,["# C.Priority\n==========\n\nArtifact: [androidx.media3:media3-common](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/common/C.java+class:androidx.media3.common.C.Priority)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/common/C.Priority \"View this page in Kotlin\") \\|Java\n\n\n```\n@Documented\n@UnstableApi\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = ElementType.TYPE_USE)\n@IntDef(open = true, value = )\npublic annotation C.Priority\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA value indicating the priority of a operation.\n\nLarger values indicate higher priorities, but values should not exceed [PRIORITY_MAX](/reference/androidx/media3/common/C#PRIORITY_MAX()).\n\nThe predefined priority values are used by default and it's recommended to align any custom values relative to these defaults (for example, `C.PRIORITY_PLAYBACK - 1`.\n\nPredefined values are (in descending priority order):\n\n- [PRIORITY_MAX](/reference/androidx/media3/common/C#PRIORITY_MAX())\n- [PRIORITY_PLAYBACK](/reference/androidx/media3/common/C#PRIORITY_PLAYBACK())\n- [PRIORITY_PROCESSING_FOREGROUND](/reference/androidx/media3/common/C#PRIORITY_PROCESSING_FOREGROUND())\n- [PRIORITY_PLAYBACK_PRELOAD](/reference/androidx/media3/common/C#PRIORITY_PLAYBACK_PRELOAD())\n- [PRIORITY_PROCESSING_BACKGROUND](/reference/androidx/media3/common/C#PRIORITY_PROCESSING_BACKGROUND())\n- [PRIORITY_DOWNLOAD](/reference/androidx/media3/common/C#PRIORITY_DOWNLOAD())"]]