Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Dependencies and run state required to tear down an offline capture.

    interface CaptureTeardown {
        session: RecordingSession;
        sessionAbort: AbortController;
        driver: OfflineCaptureDriver;
        ctx: CaptureContext;
        setupCompleted: boolean;
        finalizeSucceeded: boolean;
        animationController: AnimationController;
        callbackIds: readonly string[];
        cleanupOverlay: () => void;
        releaseSession: (abort: AbortController) => void;
    }
    Index
    sessionAbort: AbortController
    setupCompleted: boolean

    Whether driver.setup completed — an unset driver must not be aborted.

    finalizeSucceeded: boolean

    Whether driver.finalize completed — a finalized driver must not be aborted.

    animationController: AnimationController
    callbackIds: readonly string[]

    The per-frame callbacks to unregister (capture + keep-alive).

    cleanupOverlay: () => void
    releaseSession: (abort: AbortController) => void

    Drop this run's controller if it is still the owning one.