Stay organized with collections
Save and categorize content based on your preferences.
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
@IntDef(flag = true, value = )
annotation C.VolumeFlags
Volume flags to be used when setting or adjusting device volume. The value can be either 0 or a combination of the following flags: VOLUME_FLAG_SHOW_UI
, VOLUME_FLAG_ALLOW_RINGER_MODES
, VOLUME_FLAG_PLAY_SOUND
, VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE
, VOLUME_FLAG_VIBRATE
.
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.VolumeFlags\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.VolumeFlags)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/media3/common/C.VolumeFlags \"View this page in Java\")\n\n\n```\n@Documented\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = )\n@IntDef(flag = true, value = )\nannotation C.VolumeFlags\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nVolume flags to be used when setting or adjusting device volume. The value can be either 0 or a combination of the following flags: [VOLUME_FLAG_SHOW_UI](/reference/kotlin/androidx/media3/common/C#VOLUME_FLAG_SHOW_UI()), [VOLUME_FLAG_ALLOW_RINGER_MODES](/reference/kotlin/androidx/media3/common/C#VOLUME_FLAG_ALLOW_RINGER_MODES()), [VOLUME_FLAG_PLAY_SOUND](/reference/kotlin/androidx/media3/common/C#VOLUME_FLAG_PLAY_SOUND()), [VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE](/reference/kotlin/androidx/media3/common/C#VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE()), [VOLUME_FLAG_VIBRATE](/reference/kotlin/androidx/media3/common/C#VOLUME_FLAG_VIBRATE())."]]