OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

RecordingHoldOptions

pub struct RecordingHoldOptions

How a recording action holds the camera's recording under recording holds (crate::Camera::enable_recording_holds). Added in 12.0.42.

Set with Rule::set_action_recording_hold. It has no effect while the camera's recording holds are off.

RecordingHoldOptions — fields

post_roll: Duration

How long a RecordingActionMode::WhileActive hold stays after its rule leaves the states it holds in. An activation inside it keeps the same file, with no gap. Zero lets go at once.

maximum: Duration

The longest a RecordingActionMode::WhileActive hold lasts, from the activation that took it, so a latching alarm cannot record all weekend. Zero for no maximum. A rule its maximum let go holds again only at its next activation.

hold_while: RecordingHoldWhile

Which states hold the recording.