AlarmApplicationManager.GetAccessStatus | getAccessStatus method

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

Syntax


var alarmAccessStatus = Windows.ApplicationModel.Background.AlarmApplicationManager.getAccessStatus();

Parameters

This method has no parameters.

Return value

Type: AlarmAccessStatus

Indicates whether the user has granted permission to set alarms.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

AlarmApplicationManager

 

 

Show:
© 2015 Microsoft