Share via


VibrateState Enum

Definition

Represents the state of the phone vibrate mode and ringer.

public enum class VibrateState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class VibrateState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum VibrateState
var value = Windows.Phone.Notification.Management.VibrateState.ringerOffVibrateOff
Public Enum VibrateState
Inheritance
VibrateState
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Fields

Name Value Description
RingerOffVibrateOff 0

Both the ringer and vibrate mode are off.

RingerOffVibrateOn 1

The ringer is off and vibrate mode is on.

RingerOnVibrateOff 2

The ringer is on and vibrate mode is off.

RingerOnVibrateOn 3

Both the ringer and vibrate mode are on.

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to