AlarmApplicationManager AlarmApplicationManager AlarmApplicationManager AlarmApplicationManager Class

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

Syntax

Declaration

public static class AlarmApplicationManagerpublic static class AlarmApplicationManagerPublic Static Class AlarmApplicationManagerpublic static class AlarmApplicationManager

Methods summary

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

Requests permission from the user to set alarms.

Methods

  • GetAccessStatus()
    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 AlarmAccessStatuspublic static AlarmAccessStatus GetAccessStatus()

    Returns

  • RequestAccessAsync()
    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 )public static IAsyncOperation<AlarmAccessStatus> RequestAccessAsync()

    Returns

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.ApplicationModel.Background.dll