Jaa


AlarmAccessStatus Enum

Definition

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

public enum class AlarmAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract, 65536)]
enum class AlarmAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract), 65536)]
public enum AlarmAccessStatus
var value = Windows.ApplicationModel.Background.AlarmAccessStatus.unspecified
Public Enum AlarmAccessStatus
Inheritance
AlarmAccessStatus
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract (introduced in v1.0)

Fields

Name Value Description
Unspecified 0

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

AllowedWithWakeupCapability 1

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

AllowedWithoutWakeupCapability 2

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

Denied 3

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

Applies to