Function rs2_supports_option

Function Documentation

int rs2_supports_option(const rs2_options *options, rs2_option option, rs2_error **error)

check if particular option is supported by a subdevice

Parameters:
  • options[in] the options container

  • option[in] option id to be checked

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

Returns:

true if option is supported