VolumeNotificationFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum VolumeNotificationFlags
[<System.Flags>]
type VolumeNotificationFlags = 
Inheritance
VolumeNotificationFlags
Attributes

Fields

AllowRingerModes 2
PlaySound 4
RemoveSoundAndVibrate 8

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

ShowUi 1

Show a toast containing the current volume.

Vibrate 16

Whether to vibrate if going into the vibrate ringer mode.

Remarks

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