Windows Dev Center

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.

LockScreen.SetImageStreamAsync | setImageStreamAsync method

Sets the lock screen image from a data stream.

Syntax


Windows.System.UserProfile.LockScreen.setImageStreamAsync(value).done( /* Your success and error handlers */ );

Parameters

value

Type: IRandomAccessStream

The stream that contains the image data.

Return value

Type: IAsyncAction

The object used to set the lock screen image.

Requirements (Windows 10 device family)

Device family

Desktop
Mobile

API contract

Windows.System.UserProfile.UserProfileContract, introduced version 1.0
Windows.System.UserProfile.UserProfileLockScreenContract, introduced version 1.0

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.System.UserProfile.UserProfileContract.winmd
Windows.System.UserProfile.UserProfileLockScreenContract.winmd

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

See also

Personalization app sample
LockScreen
LockScreen.getImageStream
LockScreen.originalImageFile
LockScreen.setImageFileAsync
Lock screen overview

 

 

Show:
© 2015 Microsoft