LockScreen.GetImageUri method
Gets the Uniform Resource Identifier (URI) of the current lock screen background.
Syntax
Parameters
This method has no parameters.
Return value
Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]
The Uniform Resource Identifier (URI) of the current lock screen background.
Remarks
This method can be called while the app runs in the foreground or from a background agent.
If the lock screen background was previously set by a different app and you call GetImageUri, an UnauthorizedException will be thrown.
Requirements
|
Minimum supported client |
None supported |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also