RecordingHoldEvent
public sealed record RecordingHoldEvent : IEquatable<RecordingHoldEvent>
A hold on a camera's recording taken or let go, delivered to ThermalCamera.OnRecordingHold(…). Added in 12.0.42.
RecordingHoldEvent: constructors
public RecordingHoldEvent(RecordingHoldPhase Phase, ulong RuleId, int ActionIndex, RecordingHoldKind Kind, RecordingHoldRelease Reason, bool OpenedRecording, bool EndedRecording, string Path)
A hold on a camera's recording taken or let go, delivered to ThermalCamera.OnRecordingHold(…). Added in 12.0.42.
Phase: Taken or let go.RuleId: The rule, or 0 for the application.ActionIndex: Which of the rule's actions; 0 for the application.Kind: Who held it.Reason: Why it was let go;RecordingHoldRelease.Nonewhen taken.OpenedRecording: OnRecordingHoldPhase.Added: this hold opened the file, so it says which rule, or the application, started the recording.EndedRecording: OnRecordingHoldPhase.Released: its release ended the file.Path: The recording's file, as the first hold named it.
RecordingHoldEvent: properties
public int ActionIndex { get; init; }
Which of the rule's actions; 0 for the application.
public bool EndedRecording { get; init; }
On RecordingHoldPhase.Released: its release ended the file.
public RecordingHoldKind Kind { get; init; }
Who held it.
public bool OpenedRecording { get; init; }
On RecordingHoldPhase.Added: this hold opened the file, so it says which rule, or the application, started the recording.
public string Path { get; init; }
The recording's file, as the first hold named it.
public RecordingHoldPhase Phase { get; init; }
Taken or let go.
public RecordingHoldRelease Reason { get; init; }
Why it was let go; RecordingHoldRelease.None when taken.
public ulong RuleId { get; init; }
The rule, or 0 for the application.