OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C++ API referencev12.0

optris::sdk::rec::RecordingHold

One hold on the camera's recording. Read with Recorder::GetRecordingHolds(). Added in 12.0.42.

Public attributes

rule_id

uint64_t rule_id = 0

The rule holding it, or 0 for the application.

action_index

size_t action_index = 0

Which of that rule's actions; 0 for the application.

kind

RecordingHoldKind kind = RecordingHoldKind::kApplication

Who holds it: the application, or which kind of rule action.

releases_in

std::optional< std::chrono::milliseconds > releases_in

How long until it lets go: the post-roll left after a clear, the fixed time left, or the application's time left. Empty while it lasts as long as something else does: an active alarm, or an application hold with no time.

maximum_in

std::optional< std::chrono::milliseconds > maximum_in

How long until RecordingHoldOptions::maximum lets go of it, or empty when it has none.