RCP API  6.61.0

◆ rcp_get_is_supported()

int rcp_get_is_supported ( rcp_camera_connection_t con,
rcp_param_t  id,
rcp_param_properties_t properties 
)

Check if parameter is supported by connected camera.

Check if the given parameter is supported by the connected camera. This function uses the camera's RCP Parameter Set Version to determine if a parameter is available. This should be used to conditionally show newer commands to the user when connecting to older camera builds.

Parameters
[in]conthe camera connection
[in]idthe RCP parameter
[out]propertiesproperties of the parameter (pass in NULL if not required)
Return values
0this RCP parameter is not supported by the connected camera.
1this RCP parameter is supported by the connected camera.