Function rs2_get_option_from_list

Function Documentation

rs2_option rs2_get_option_from_list(const rs2_options_list *options, int i, rs2_error **error)

get the specific option from options list

Parameters:
  • i[in] the index of the option

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

Returns:

the option ID