Function rs2_get_sensors_count

Function Documentation

int rs2_get_sensors_count(const rs2_sensor_list *info_list, rs2_error **error)

Determines number of sensors in a list

Parameters:
  • info_list[in] The list of connected sensors captured using rs2_query_sensors

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

Sensors count