Alarm​Application​Manager Alarm​Application​Manager Alarm​Application​Manager Class

Definition

Requests permission from the user to set alarms, and retrieves the status of user permission for the app to set alarms.

public : static class AlarmApplicationManagerpublic static class AlarmApplicationManagerPublic Static Class AlarmApplicationManager
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract (introduced v1)

Methods

GetAccessStatus() GetAccessStatus() GetAccessStatus()

Retrieves the status of user permission for the app to set alarms.

public : static AlarmAccessStatus GetAccessStatus()public static AlarmAccessStatus GetAccessStatus()Public Static Function GetAccessStatus() As AlarmAccessStatus
Returns

Indicates whether the user has granted permission to set alarms.

Attributes

RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()

Requests permission from the user to set alarms.

public : static IAsyncOperation<AlarmAccessStatus> RequestAccessAsync()public static IAsyncOperation<AlarmAccessStatus> RequestAccessAsync()Public Static Function RequestAccessAsync() As IAsyncOperation( Of AlarmAccessStatus )
Returns
Attributes