Back to Exoplayer

Player.DiscontinuityReason (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/Player.DiscontinuityReason.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2

Annotation Type Player.DiscontinuityReason


[@Documented](https://developer.android.com/reference/java/lang/annotation/Documented.html "class or interface in java.lang.annotation")[@Retention](https://developer.android.com/reference/java/lang/annotation/Retention.html "class or interface in java.lang.annotation")([SOURCE](https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE "class or interface in java.lang.annotation"))[@Target](https://developer.android.com/reference/java/lang/annotation/Target.html "class or interface in java.lang.annotation")({[FIELD](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#FIELD "class or interface in java.lang.annotation"),[METHOD](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#METHOD "class or interface in java.lang.annotation"),[PARAMETER](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#PARAMETER "class or interface in java.lang.annotation"),[LOCAL\_VARIABLE](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#LOCAL_VARIABLE "class or interface in java.lang.annotation"),[TYPE\_USE](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE_USE "class or interface in java.lang.annotation")})
public static @interfacePlayer.DiscontinuityReason

Reasons for position discontinuities. One of Player.DISCONTINUITY_REASON_AUTO_TRANSITION, Player.DISCONTINUITY_REASON_SEEK, Player.DISCONTINUITY_REASON_SEEK_ADJUSTMENT, Player.DISCONTINUITY_REASON_SKIP, Player.DISCONTINUITY_REASON_REMOVE or Player.DISCONTINUITY_REASON_INTERNAL.