pub fn set_user_roi(dev: &mut Device, roi: UserRoi) -> Result<(), StError>
Set the region of interest by specifying the grid of SPADs to use.
The minimum ROI size is 4x4.
See the API User Manual section 2.5.6 for further information.