SensorErrorEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Giao diện SensorErrorEvent của Sensor APIs cung cấp thông tin về các lỗi được ném ra bởi Sensor hoặc giao diện dẫn xuất.
Hàm tạo
SensorErrorEvent()-
Tạo một đối tượng
SensorErrorEventmới.
Thuộc tính phiên bản
SensorErrorEvent.errorRead only-
Trả về đối tượng
DOMExceptionđược truyền vào hàm tạo của sự kiện.
Thông số kỹ thuật
| Specification |
|---|
| Generic Sensor API> # the-sensor-error-event-interface> |