Function rs2_get_device_count

Function Documentation

int rs2_get_device_count(const rs2_device_list *info_list, rs2_error **error)

Determines number of devices in a list.

Parameters:
  • info_list[in] The list of connected devices captured using rs2_query_devices

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

Returns:

Device count