# ISensorInterface.idl ## 概述 Sensor模块对外通用的接口声明文件,提供获取传感器设备信息、订阅/取消订阅传感器数据、 使能/去使能传感器、设置传感器模式、设置传感器精度,量程等可选配置接口定义。 **Since:** 2.2 **Version:** 1.0 **相关模块:** [Sensor](_sensor.md) ## 汇总 ### 类 | 名称 | 描述 | | -------- | -------- | | [ISensorInterface](interface_i_sensor_interface.md) | interface
提供Sensor设备基本控制操作接口。 | ### 关键字 | 名称 | 描述 | | -------- | -------- | | package ohos.hdi.sensor.v1_0 | Sensor模块接口的包路径。 |