表盘 APIhmSensor 传感器模块addEventListener版本:v3On this pageaddEventListener(eventId, callback)注册传感器回调事件。 每个传感器的使用方式不同,请参考具体传感器的使用。 类型 (eventId: EventId, callback: (event: Event) => void) => void 参数 EventId 参考具体传感器 Event 参考具体传感器