Share via


VibrationAccessStatus Enum

Definition

Specifies the access rights to the vibration device.

public enum class VibrationAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class VibrationAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum VibrationAccessStatus
var value = Windows.Devices.Haptics.VibrationAccessStatus.allowed
Public Enum VibrationAccessStatus
Inheritance
VibrationAccessStatus
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Allowed 0

Vibration enabled.

DeniedByUser 1

Vibration disabled by user.

DeniedBySystem 2

Vibration disabled by system.

DeniedByEnergySaver 3

Vibration disabled for energy saving.

Applies to