AlarmApplicationManager AlarmApplicationManager AlarmApplicationManager AlarmApplicationManager AlarmApplicationManager 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 AlarmApplicationManager
static struct winrt::Windows::ApplicationModel::Background::AlarmApplicationManager
public static class AlarmApplicationManager
Public Shared Class AlarmApplicationManager
// This class does not provide a public constructor.
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() GetAccessStatus() GetAccessStatus()

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

RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()

Requests permission from the user to set alarms.