Function rs2_supports_sensor_info

Function Documentation

int rs2_supports_sensor_info(const rs2_sensor *sensor, rs2_camera_info info, rs2_error **error)

check if specific sensor info is supported

Parameters:
  • info[in] the parameter to check for support

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

Returns:

true if the parameter both exist and well-defined for the specific device