# Player.PlayWhenReadyChangeReason

# Player.PlayWhenReadyChangeReason

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.PlayWhenReadyChangeReason)

*** ** * ** ***

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

<br />

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

<br />

*** ** * ** ***

Reasons for[playWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayWhenReady())changes. One of[PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST()),[PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS()),[PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY()),[PLAY_WHEN_READY_CHANGE_REASON_REMOTE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_REMOTE()),[PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM())or[PLAY_WHEN_READY_CHANGE_REASON_SUPPRESSED_TOO_LONG](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_SUPPRESSED_TOO_LONG()).