Function rs2_supports_device_info
Defined in File rs_device.h
Function Documentation
-
int rs2_supports_device_info(const rs2_device *device, rs2_camera_info info, rs2_error **error)
Check if a camera supports a specific camera info type.
- Parameters:
device – [in] The RealSense device to check
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