Function rs2_is_option_read_only

Function Documentation

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

check if an option is read-only

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 read-only