homebridge-unifi-protect
Version:
Homebridge UniFi Protect plugin providing complete HomeKit integration for the entire UniFi Protect ecosystem with full support for most features including HomeKit Secure Video, multiple controllers, blazing fast performance, and much more.
30 lines • 1.13 kB
TypeScript
import type { CameraRecordingConfiguration } from "homebridge";
import type { ProtectCameraHost } from "./camera-host.ts";
import { ProtectTimeshiftBuffer } from "./timeshift.ts";
export interface RecordingDemand {
config: CameraRecordingConfiguration | undefined;
isRecording: boolean;
}
export declare class ProtectTimeshiftSupervisor {
readonly buffer: ProtectTimeshiftBuffer;
private configurePromise?;
private configureRequested;
protected deferralResolutionPending: boolean;
private demand;
private hasAcknowledgedRecording;
private hasReportedSelectionFailure;
private isShutdown;
private readonly log;
private readonly protectCamera;
private wasDeferredOffline;
private wasDeferredWhileInduced;
constructor(protectCamera: ProtectCameraHost);
setRecordingDemand(demand: RecordingDemand): Promise<boolean>;
reconcile(): Promise<boolean>;
private runReconcileLoop;
protected onReconcileLoopExit(): void;
protected onStartSettled(): void;
private runReconcilePass;
shutdown(): void;
}
//# sourceMappingURL=timeshift-supervisor.d.ts.map