# C.Priority

# C.Priority

Artifact:[androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/common/C.java+class:androidx.media3.common.C.Priority)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/common/C.Priority "View this page in Java")

<br />

```
@Documented
@UnstableApi
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(open = true, value = )
annotation C.Priority
```

<br />

*** ** * ** ***

A value indicating the priority of a operation.

Larger values indicate higher priorities, but values should not exceed[PRIORITY_MAX](https://developer.android.com/reference/kotlin/androidx/media3/common/C#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):

- [PRIORITY_MAX](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_MAX())
- [PRIORITY_PLAYBACK](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_PLAYBACK())
- [PRIORITY_PROCESSING_FOREGROUND](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_PROCESSING_FOREGROUND())
- [PRIORITY_PLAYBACK_PRELOAD](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_PLAYBACK_PRELOAD())
- [PRIORITY_PROCESSING_BACKGROUND](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_PROCESSING_BACKGROUND())
- [PRIORITY_DOWNLOAD](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PRIORITY_DOWNLOAD())