Signed-off-by: hellohyh001 <huiyuehong@huawei.com>
Change-Id: I149717972e189a2d198a4d0417b0e3a24f04ce37
This commit is contained in:
hellohyh001 2023-11-25 02:08:00 +00:00
parent e98a06d225
commit c7361e8dbd

View File

@ -51,26 +51,26 @@ Sensor_Result OH_Sensor_GetAllSensors(Sensor_Sensor **sensors, int32_t *count);
/**
* @brief
*
* @param id - , {@link Sensor_SubscribeId}
* @param id - , {@link Sensor_SensorSubscribeId}
* @param attribute - {@Link Sensor_SubscribeAttribute}
* @param user - {@Link Sensor_SubscribeUser}
* @return SENSOR_SUCCESS{@Link Sensor_Result}
*
* @since 11
*/
Sensor_Result OH_Sensor_SubscribeSensor(const Sensor_SubscribeId *id, const Sensor_SubscribeAttribute *attribute,
Sensor_Result OH_Sensor_SubscribeSensor(const Sensor_SensorSubscribeId *id, const Sensor_SubscribeAttribute *attribute,
const Sensor_SubscribeUser *user);
/**
* @brief
*
* @param id - , {@link Sensor_SubscribeId}
* @param id - , {@link Sensor_SensorSubscribeId}
* @param user - {@Link Sensor_SubscribeUser}
* @return SENSOR_SUCCESS{@Link Sensor_Result}
*
* @since 11
*/
Sensor_Result OH_Sensor_UnsubscribeSensor(const Sensor_SubscribeId *subscribeId, const Sensor_SubscribeUser *user);
Sensor_Result OH_Sensor_UnsubscribeSensor(const Sensor_SensorSubscribeId *subscribeId, const Sensor_SubscribeUser *user);
#ifdef __cplusplus
}
#endif