Udostępnij za pośrednictwem


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)]
class AlarmApplicationManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract), 65536)]
public static class AlarmApplicationManager
Public Class AlarmApplicationManager
Inheritance
Object Platform::Object IInspectable AlarmApplicationManager
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)

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