Player.PlaybackSuppressionReason
Artifact: androidx.media3:media3-common
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
@IntDef(value = )
annotation Player.PlaybackSuppressionReason
Reason why playback is suppressed even though getPlayWhenReady
is true
. One of PLAYBACK_SUPPRESSION_REASON_NONE
, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS
, PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_ROUTE
or PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT
.