AlarmAccessStatus enumeration

AlarmAccessStatus enumeration

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Indicates whether the user has given permission for the app to set alarms.

Syntax


var value = Windows.ApplicationModel.Background.AlarmAccessStatus.unspecified;

Members

The AlarmAccessStatus enumeration has these members.

MemberValueDescription
Unspecified | unspecified0

The user has not responded to a permission request for the app to set alarms.

AllowedWithWakeupCapability | allowedWithWakeupCapability1

The user has given permission for the app to set alarms, and alarms can wake up the computer from standby.

AllowedWithoutWakeupCapability | allowedWithoutWakeupCapability2

The user has given permission for the app to set alarms, but the alarms cannot wake up the computer from standby.

Denied | denied3

The user has denied permission for the app to set alarms.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

 

 

Show:
© 2016 Microsoft