SensorErrorEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Sensor API 的 SensorErrorEvent 接口提供了有关 Sensor 或其派生接口抛出的错误的信息。
构造函数
SensorErrorEvent()-
创建一个新的
SensorErrorEvent对象。
实例属性
SensorErrorEvent.error只读-
返回在事件构造函数中传入的
DOMException对象。
规范
| Specification |
|---|
| Generic Sensor API> # the-sensor-error-event-interface> |