# 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)

*** ** * ** ***


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

<br />

*** ** * ** ***

A value indicating the priority of a operation.

Larger values indicate higher priorities, but values should not exceed `https://developer.android.com/reference/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):

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