StillOpenOptions
pub struct StillOpenOptions
What Camera::open_still_with and
Camera::open_still_from_memory_with bring with a still.
StillOpenOptions::new opens a still exactly as
Camera::open_still does. Since 12.0.42.
StillOpenOptions — methods
pub fn new() -> Self
Open the still as Camera::open_still does.
pub fn install_regions(mut self, yes: bool) -> Self
Install the measuring areas the still records as regions, measuring, as a replay restores the regions its recording was made with. Alarm rules are not part of the record; add them after opening.
A still saved by this SDK records the regions in force when it was saved (since 12.0.42). Each comes back with the id the file gives it and measures what the region it was saved from measured. Off by default, so a still opened without it has no regions, as before.
pub fn installs_regions(&self) -> bool
Whether StillOpenOptions::install_regions is set.