Back to Exoplayer

C.BufferFlags (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html

latest1.3 KB
Original Source

Package com.google.android.exoplayer2

Annotation Type C.BufferFlags


[@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")([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 @interfaceC.BufferFlags

Flags which can apply to a buffer containing a media sample. Possible flag values are C.BUFFER_FLAG_KEY_FRAME, C.BUFFER_FLAG_END_OF_STREAM, C.BUFFER_FLAG_FIRST_SAMPLE, C.BUFFER_FLAG_LAST_SAMPLE, C.BUFFER_FLAG_ENCRYPTED and C.BUFFER_FLAG_DECODE_ONLY.