| rcp_error_t rcp_set_list_relative | ( | rcp_camera_connection_t * | con, |
| rcp_param_t | id, | ||
| int32_t | offset | ||
| ) |
Set list (by value) with relative offset.
This is not like rcp_set_list which changes the entire list, instead this is like calling rcp_set_int, rcp_set_uint, or rcp_set_str on a parameter based on the relative entry in its list.
For example, to set the ISO to the next (higher value) in the list call:
to set the ISO to the previous (lower value) in the list call:
| [in] | con | the camera connection |
| [in] | id | the RCP parameter |
| [in] | offset | offset to the current index of the list |