Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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
您可以通过禁用 UserIdleDetection 来做到这一点。
请查看
UserIdleDetectionMode 属性
空闲检测