Function rs2_is_sensor_extendable_to
Defined in File rs_sensor.h
Function Documentation
-
int rs2_is_sensor_extendable_to(const rs2_sensor *sensor, rs2_extension extension, rs2_error **error)
Test if the given sensor can be extended to the requested extension
- Parameters:
sensor – [in] Realsense sensor
extension – [in] The extension to which the sensor should be tested if it is extendable
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
non-zero value iff the sensor can be extended to the given extension