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 ref class AlarmApplicationManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract, 65536)]
/// [Windows.Foundation.Metadata.Static(Windows.ApplicationModel.Background.IAlarmApplicationManagerStatics, 65536, Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract)]
class AlarmApplicationManager abstract final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract, 65536)]
/// [Windows.Foundation.Metadata.Static(Windows.ApplicationModel.Background.IAlarmApplicationManagerStatics, 65536, "Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract")]
class AlarmApplicationManager abstract final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Windows.ApplicationModel.Background.IAlarmApplicationManagerStatics), 65536, typeof(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract))]
public static class AlarmApplicationManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Windows.ApplicationModel.Background.IAlarmApplicationManagerStatics), 65536, "Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract")]
public static class AlarmApplicationManager
Public Class AlarmApplicationManager
Inheritance
AlarmApplicationManager
Attributes

Windows 10 requirements

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

Methods

GetAccessStatus()

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

RequestAccessAsync()

Requests permission from the user to set alarms.

Applies to