VolumeNotificationFlags VolumeNotificationFlags Enum


Enumerates values returned by several methods of VolumeNotificationFlags and taken as a parameter of several methods of AudioManager.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum VolumeNotificationFlags
type VolumeNotificationFlags = 


AllowRingerModes AllowRingerModes 2
PlaySound PlaySound 4
RemoveSoundAndVibrate RemoveSoundAndVibrate 8

Removes any sounds/vibrate that may be in the queue, or are playing (related to changing volume).

ShowUi ShowUi 1

Show a toast containing the current volume.

Vibrate Vibrate 16

Whether to vibrate if going into the vibrate ringer mode.


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to