Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BackgroundExecutionManager.GetAccessStatus(String) | getAccessStatus(String) method

Applies to Windows and Windows Phone

Gets the ability of a specific lock screen app to perform background activity and update its badge.

Syntax


var backgroundAccessStatus = Windows.ApplicationModel.Background.BackgroundExecutionManager.getAccessStatus(applicationId);

Parameters

applicationId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The Package Relative Application ID (PRAID) of the app whose capabilities are being retrieved. The specified app must be in the same package as the calling app.

Return value

Type: BackgroundAccessStatus

One of the enumeration values that specify the app's capabilities on the lock screen.

Remarks

The settings that allow an app to use background activity and update its badge on the lock screen are found in the Setttings charm or the Personalization item in the Control Panel.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

BackgroundExecutionManager
GetAccessStatus

 

 

Show:
© 2014 Microsoft