RecordingHoldEvent
pub struct RecordingHoldEvent
A hold on a camera's recording taken or let go, delivered to
Camera::on_recording_hold. Added in 12.0.42.
RecordingHoldEvent — fields
phase: RecordingHoldPhase
Taken or let go.
rule_id: u64
The rule, or 0 for the application.
action_index: u32
Which of the rule's actions; 0 for the application.
kind: RecordingHoldKind
Who held it.
reason: RecordingHoldRelease
Why it was let go; RecordingHoldRelease::None when taken.
opened_recording: bool
On RecordingHoldPhase::Added: this hold opened the file, so
it says which rule, or the application, started the recording.
ended_recording: bool
On RecordingHoldPhase::Released: its release ended the file.
path: String
The recording's file, as the first hold named it.