Tristan
Tristan

Reputation: 1476

Windows UWP as Screensaver?

On Windows 10, can a UWP be launched as a screensaver? If so, how do you register your app with the OS such that it gets listed in the screensaver dialog?

(Windows 8 store apps cannot be screensavers. I cannot find any information on UWPs)

Upvotes: 5

Views: 1187

Answers (1)

Robin-Manuel Thiel
Robin-Manuel Thiel

Reputation: 2256

I am very sorry to disappoint you, but no, you can not set your UWP app as a screensaver provider.

What you could do instead is offering the user to give your app control of the lock screen or wallpaper image. UWP apps are able to set these images even when running in a background task with the UserProfilePersonalizationSettings class:

// Lock Screen
await UserProfilePersonalizationSettings.Current.TrySetLockScreenImageAsync(StorageFile);

// Wallpaper
await UserProfilePersonalizationSettings.Current.TrySetWallpaperImageAsync(StorageFile);

Upvotes: 6

Related Questions