目录

Sensor_Subscriber

typedef struct Sensor_Subscriber Sensor_Subscriber

Overview

Defines a struct for the sensor subscriber, including the subscription callback function and user data. You can use this struct to specify the parameters of a sensor subscriber. After the subscription is successful, the sensor data updates will be received.

Since: 11

Related module: Sensor

Header file: oh_sensor_type.h