Presents the user with a dialog box that requests that the specified app be added to the lock screen.
Syntax
Windows.ApplicationModel.Background.BackgroundExecutionManager.requestAccessAsync(applicationId).done( /* Your success and error handlers */ );
Parameters
- applicationId
-
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]
The Package Relative Application ID (PRAID) of the app to be added to the lock screen. The specified app must be in the same package as the calling app.
Return value
Type: IAsyncOperation<BackgroundAccessStatus>
The object, bound to the app specified by applicationId, that is used to request that the app be added to the lock screen's apps list. When the operation completes, it returns a member of the BackgroundAccessStatus enumeration that specifies the outcome.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012