Stay organized with collections
Save and categorize content based on your preferences.
@UnstableApi
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(flag = true, value = )
public annotation C.BufferFlags
Flags which can apply to a buffer containing a media sample.
Possible flag values are:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[],[],null,["# C.BufferFlags\n=============\n\nArtifact: [androidx.media3:media3-common](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/common/C.java+class:androidx.media3.common.C.BufferFlags)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/common/C.BufferFlags \"View this page in Kotlin\") \\|Java\n\n\n```\n@UnstableApi\n@Documented\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = ElementType.TYPE_USE)\n@IntDef(flag = true, value = )\npublic annotation C.BufferFlags\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nFlags which can apply to a buffer containing a media sample.\n\nPossible flag values are:\n\n- [BUFFER_FLAG_KEY_FRAME](/reference/androidx/media3/common/C#BUFFER_FLAG_KEY_FRAME())\n- [BUFFER_FLAG_END_OF_STREAM](/reference/androidx/media3/common/C#BUFFER_FLAG_END_OF_STREAM())\n- [BUFFER_FLAG_NOT_DEPENDED_ON](/reference/androidx/media3/common/C#BUFFER_FLAG_NOT_DEPENDED_ON())\n- [BUFFER_FLAG_FIRST_SAMPLE](/reference/androidx/media3/common/C#BUFFER_FLAG_FIRST_SAMPLE())\n- [BUFFER_FLAG_LAST_SAMPLE](/reference/androidx/media3/common/C#BUFFER_FLAG_LAST_SAMPLE())\n- [BUFFER_FLAG_ENCRYPTED](/reference/androidx/media3/common/C#BUFFER_FLAG_ENCRYPTED())"]]