# Player.PlaybackSuppressionReason

# Player.PlaybackSuppressionReason

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/Player.java+class:androidx.media3.common.Player.PlaybackSuppressionReason)

*** ** * ** ***

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

<br />

```
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
@IntDef(value = )
annotation Player.PlaybackSuppressionReason
```

<br />

*** ** * ** ***

Reason why playback is suppressed even though[getPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayWhenReady())is`true`.

One of:

- [PLAYBACK_SUPPRESSION_REASON_NONE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_NONE())
- [PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS())
- [PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_ROUTE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_ROUTE())
- [PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT())
- [PLAYBACK_SUPPRESSION_REASON_SCRUBBING](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_SCRUBBING())