harmony 鸿蒙ISensorInterface.idl
ISensorInterface.idl
概述
Sensor模块对外通用的接口声明文件,提供获取传感器设备信息、订阅/取消订阅传感器数据、 使能/去使能传感器、设置传感器模式、设置传感器精度,量程等可选配置接口定义。
模块包路径:ohos.hdi.sensor.v2_0
引用:
ohos.hdi.sensor.v2_0.SensorTypes
ohos.hdi.sensor.v2_0.ISensorCallback
起始版本: 4.1
相关模块:HdiSensor
汇总
类
名称 | 描述 |
---|---|
interface ISensorInterface | 提供Sensor设备基本控制操作接口。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙HdfSensorInformation
harmony 鸿蒙HdfSensorInformation
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦