Function rs2_create_sensor
Defined in File rs_sensor.h
Function Documentation
-
rs2_sensor *rs2_create_sensor(const rs2_sensor_list *list, int index, rs2_error **error)
create sensor by index
- Parameters:
index – [in] the zero based index of sensor to retrieve
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
the requested sensor, should be released by rs2_delete_sensor