0

In my app, I'd like to disable the automatically sleep function. I want it keeps alive all the time.

I tried searching it, however couldn't find any answer. (maybe I didn't find the correct keyword).

So, please anyone tell me how to do it. Thank you

4

1 回答 1

0

您可以通过禁用 UserIdleDetection 来做到这一点。

请查看

UserIdleDetectionMode 属性

空闲检测

于 2013-07-15T08:54:49.840 回答