编程技术

Idle Detection API:用户空闲检测与权限策略

--- title: Idle Detection API:用户空闲检测与权限策略 keywords: - IdleDetector - userState - screenState - 权限策略 - 空闲检测 description: 说明 Idle Detection 的用户与屏幕状态检测、权限与策略、适用场景与隐私治理,并提供示例与回退建议。 categories: - 应用软件 ...

ImageDecoder API:图片解码与动画帧管线

--- title: "ImageDecoder API:图片解码与动画帧管线" keywords: - ImageDecoder - decode - VideoFrame - 动画帧 - 位图 description: "介绍 ImageDecoder 的使用与帧读取,针对静态与动画图片(如 GIF/WEBP),将解码帧转为位图或 VideoFrame 并绘制,说明性能与内...

Network Information API:带宽类型与自适应加载

--- title: Network Information API:带宽类型与自适应加载 keywords: - Network Information - effectiveType - downlink - rtt - saveData description: 说明网络信息的读取与变更事件,根据带宽类型与用户省流偏好调整资源加载策略,并给出示例与验证。 categories: - 应用...

Popover API 锚定定位与可访问性:交互触发、锚点定位与验证指标

--- title: Popover API 锚定定位与可访问性:交互触发、锚点定位与验证指标 tags: - Popover API - 锚定定位 - 可访问性 - 交互触发 - 性能优化 description: 使用原生 Popover API 构建无障碍的锚定式弹出层,覆盖交互触发、锚点定位与可访问性细节,提供可验证的性能与稳定性指标 categories: - 文章资讯 - 编程...