AlarmApplicationManager class
TOC
Collapse the table of content
Expand the table of content

AlarmApplicationManager class

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

Syntax


var alarmApplicationManager = Windows.ApplicationModel.Background.AlarmApplicationManager;

Members

The AlarmApplicationManager class has these types of members:

Methods

The AlarmApplicationManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetAccessStatus Retrieves the status of user permission for the app to set alarms.
RequestAccessAsync Requests permission from the user to set alarms.

 

Remarks

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

See also

Object

 

 

Show:
© 2016 Microsoft