Cảm biến

Trình kiểm tra tính khả dụng của cảm biến

Liệt kê các cảm biến chuyển động, định hướng và môi trường mà trình duyệt và thiết bị của bạn hiển thị.

Sự riêng tư: Kiểm tra tính sẵn có là địa phương. Trình kiểm tra không khởi động cảm biến trừ khi bạn yêu cầu rõ ràng một mẫu trực tiếp.
Nhãn giao diện và tên công cụ được dịch. Hướng dẫn chi tiết và câu hỏi thường gặp trên trang này hiện được viết bằng tiếng Anh.

Giao diện thử nghiệm

Trình duyệt của bạn có thể yêu cầu quyền sau khi bạn nhấn Bắt đầu.
Nhấn Bắt đầu để bắt đầu.
Chạy kiểm tra—
Alpha—
Beta—
Gamma—
Mẫu0
Trình kiểm tra này báo cáo các API cảm biến nào tồn tại và liệu trình duyệt có hiển thị trạng thái cấp phép hay không. Nó không chứng minh rằng cảm biến vật lý là chính xác.

Cách sử dụng công cụ này

  1. Click Run sensor checks.
  2. Review each sensor row for supported, unavailable, or permission-required status.
  3. Request a live sample for supported motion sensors if desired.
  4. Stop the live sample when finished.

Quảng cáo

Giải thích kỹ thuật

The checker looks for the Generic Sensor API constructors and DeviceOrientation/DeviceMotion events. Presence of a constructor does not guarantee that hardware is fitted or that permission will be granted.

Environmental sensors such as ambient light or pressure are rarely exposed to web pages. Unsupported status is a browser capability result, not a hardware diagnosis.

Khắc phục sự cố

Everything is unsupported

Use a mobile device and a current browser over HTTPS.

Permission is pending

Grant motion access from the browser prompt or site settings.

Sensor list differs from device specifications

Browsers expose only a subset of hardware sensors for privacy and compatibility reasons.

A sensor stops reporting

Background tabs and power saving can pause sensors. Keep the page visible.

Câu hỏi thường gặp

Quảng cáo