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.