OptrisOptrisDocumentation

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

optris_sdk_recording_hold_event

A hold on a camera's recording taken or let go. Mirrors optris::sdk::rec::RecordingHoldEvent. Added in 12.0.42.

Borrowed for the duration of the call; copy what you keep.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_recording_hold_event).

phase

optris_sdk_recording_hold_phase phase

Taken or let go.

rule_id

uint64_t rule_id

The rule, or 0 for the application.

action_index

uint32_t action_index

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

kind

optris_sdk_recording_hold_kind kind

Who held it.

reason

optris_sdk_recording_hold_release reason

Why it was let go; OPTRIS_SDK_RECORDING_HOLD_RELEASE_NONE when taken.

opened_recording

uint8_t opened_recording

On OPTRIS_SDK_RECORDING_HOLD_ADDED, non-zero when this hold opened the recording.

ended_recording

uint8_t ended_recording

On OPTRIS_SDK_RECORDING_HOLD_RELEASED, non-zero when its release ended the recording.

reserved0

uint8_t reserved0[2]

Reserved; always zero.

path

char path[OPTRIS_SDK_MAX_PATH]

The recording's file, as the first hold named it. UTF-8.