Skip to main content

set_control

Function set_control 

Source
pub fn set_control(
    unique_id: &str,
    control: CameraControl,
    value: i32,
) -> Result<(), ControlError>
Expand description

Write one control value.

§Errors

ControlError::Unsupported when the camera doesn’t expose the control, or rejects the write because an auto mode currently owns it.