Stay organized with collections
Save and categorize content based on your preferences.
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
@IntDef(flag = true, value = )
public annotation C.RoleFlags
Track role flags. Possible flag values are ROLE_FLAG_MAIN
, ROLE_FLAG_ALTERNATE
, ROLE_FLAG_SUPPLEMENTARY
, ROLE_FLAG_COMMENTARY
, ROLE_FLAG_DUB
, ROLE_FLAG_EMERGENCY
, ROLE_FLAG_CAPTION
, ROLE_FLAG_SUBTITLE
, ROLE_FLAG_SIGN
, ROLE_FLAG_DESCRIBES_VIDEO
, ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND
, ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY
, ROLE_FLAG_TRANSCRIBES_DIALOG
, ROLE_FLAG_EASY_TO_READ
and ROLE_FLAG_TRICK_PLAY
.
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.RoleFlags\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.RoleFlags)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/common/C.RoleFlags \"View this page in Kotlin\") \\|Java\n\n\n```\n@Documented\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = )\n@IntDef(flag = true, value = )\npublic annotation C.RoleFlags\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nTrack role flags. Possible flag values are [ROLE_FLAG_MAIN](/reference/androidx/media3/common/C#ROLE_FLAG_MAIN()), [ROLE_FLAG_ALTERNATE](/reference/androidx/media3/common/C#ROLE_FLAG_ALTERNATE()), [ROLE_FLAG_SUPPLEMENTARY](/reference/androidx/media3/common/C#ROLE_FLAG_SUPPLEMENTARY()), [ROLE_FLAG_COMMENTARY](/reference/androidx/media3/common/C#ROLE_FLAG_COMMENTARY()), [ROLE_FLAG_DUB](/reference/androidx/media3/common/C#ROLE_FLAG_DUB()), [ROLE_FLAG_EMERGENCY](/reference/androidx/media3/common/C#ROLE_FLAG_EMERGENCY()), [ROLE_FLAG_CAPTION](/reference/androidx/media3/common/C#ROLE_FLAG_CAPTION()), [ROLE_FLAG_SUBTITLE](/reference/androidx/media3/common/C#ROLE_FLAG_SUBTITLE()), [ROLE_FLAG_SIGN](/reference/androidx/media3/common/C#ROLE_FLAG_SIGN()), [ROLE_FLAG_DESCRIBES_VIDEO](/reference/androidx/media3/common/C#ROLE_FLAG_DESCRIBES_VIDEO()), [ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND](/reference/androidx/media3/common/C#ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND()), [ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY](/reference/androidx/media3/common/C#ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY()), [ROLE_FLAG_TRANSCRIBES_DIALOG](/reference/androidx/media3/common/C#ROLE_FLAG_TRANSCRIBES_DIALOG()), [ROLE_FLAG_EASY_TO_READ](/reference/androidx/media3/common/C#ROLE_FLAG_EASY_TO_READ()) and [ROLE_FLAG_TRICK_PLAY](/reference/androidx/media3/common/C#ROLE_FLAG_TRICK_PLAY())."]]