AlarmAccessStatus AlarmAccessStatus AlarmAccessStatus AlarmAccessStatus AlarmAccessStatus Enum

Definition

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

public : enum class AlarmAccessStatus
enum class winrt::Windows::ApplicationModel::Background::AlarmAccessStatus : int32_t
public enum AlarmAccessStatus
Public Enum AlarmAccessStatus
var value = Windows.ApplicationModel.Background.AlarmAccessStatus.allowedWithoutWakeupCapability;
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract (introduced v1)

Fields

AllowedWithoutWakeupCapability AllowedWithoutWakeupCapability AllowedWithoutWakeupCapability AllowedWithoutWakeupCapability AllowedWithoutWakeupCapability 2

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

AllowedWithWakeupCapability AllowedWithWakeupCapability AllowedWithWakeupCapability AllowedWithWakeupCapability AllowedWithWakeupCapability 1

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

Denied Denied Denied Denied Denied 3

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

Unspecified Unspecified Unspecified Unspecified Unspecified 0

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