harmony 鸿蒙ISensorInterface.idl

  • 2025-06-16
  • 浏览 (8)

ISensorInterface.idl

概述

Sensor模块对外通用的接口声明文件,提供获取传感器设备信息、订阅/取消订阅传感器数据、 使能/去使能传感器、设置传感器模式、设置传感器精度,量程等可选配置接口定义。

模块包路径:ohos.hdi.sensor.v1_1

引用:

  • ohos.hdi.sensor.v1_1.SensorTypes

  • ohos.hdi.sensor.v1_1.ISensorCallback

起始版本: 4.0

相关模块:HdiSensor

汇总

名称 描述
interface  ISensorInterface 提供Sensor设备基本控制操作接口。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Sensor HDI 参考

harmony 鸿蒙HdfSensorEvents

harmony 鸿蒙HdfSensorEvents

harmony 鸿蒙HdfSensorEvents

harmony 鸿蒙HdfSensorInformation

harmony 鸿蒙HdfSensorInformation

harmony 鸿蒙HdfSensorInformation

harmony 鸿蒙HdiSensor (V1_0)

harmony 鸿蒙HdiSensor (V1_1)

harmony 鸿蒙HdiSensor (V2_0)

0  赞