Locked screen in windows 8 WinRT

折月煮酒 提交于 2019-12-05 08:18:00

You can use the DisplayRequest class to indicate that you are busy playing back something that requires the display to stay active and un-dimmed. A good how-to article with sample code is available here. Don't use it frivolously, it is quite detrimental to power consumption. Good odds that the Store will reject your app if you use it for no obvious benefit to the user.

You cannot prevent OS to go to lock screen/sleep/shut-down etc. If you want your application to run behind the scenes, you may want to create a Background Task application. You can find more information at: MSDN Link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!