Idle Detection API:用户空闲与屏幕状态治理
---
title: Idle Detection API:用户空闲与屏幕状态治理
keywords:
- IdleDetector
- requestPermission
- userState
- screenState
- threshold
description: 使用 Idle Detection 识别用户与屏幕空闲状态,合理安排后台任务与同步,避免打扰并提升资源利用率。
catego...
