Sensor
Overview
Provides APIs to manipulate sensors. For example, you can call APIs to obtain sensor information and subscribe to or unsubscribe from sensor data.
Since: 11
Files
| Name | Description |
|---|---|
| oh_sensor.h | Declares the APIs for operating sensors, including obtaining sensor information and subscribing to and unsubscribing from sensor data. |
| oh_sensor_type.h | Declares the common sensor attributes. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-vibrator
openharmony 鸿蒙 capi-sensor-sensor-subscriptionid
openharmony 鸿蒙 capi-sensor-sensor-subscriptionattribute
openharmony 鸿蒙 capi-vibrator-h
openharmony 鸿蒙 capi-vibrator-vibrator-filedescription
openharmony 鸿蒙 js-apis-sensor-sys
openharmony 鸿蒙 capi-oh-sensor-h