AlarmAccessStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |