/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ using System; namespace OmiLAXR.Modules { /// /// Interface for eye tracking modules that provide calibration functionality /// for VR/AR applications within the OmiLAXR framework. /// [Obsolete("Not needed any more. Use ICalibrateable instead.", true)] public interface IEyeTrackingModule { /// /// Initiates the eye tracking calibration process. /// This method should begin the calibration sequence where the user /// looks at specific points to establish accurate eye tracking. /// void StartCalibration(); /// /// Stops the currently running eye tracking calibration process. /// This method should cleanly terminate any ongoing calibration /// and return the system to its previous state. /// void StopCalibration(); /// /// Checks whether the eye tracking system has been successfully calibrated. /// /// /// True if the eye tracking system is calibrated and ready for use; /// false if calibration is required or has failed. /// bool IsCalibrated { get; } bool NeedsCalibration { get; } /// /// Event triggered when the calibration process begins. /// Subscribe to this event to receive notifications when /// eye tracking calibration starts. /// event Action OnCalibrationStarted; /// /// Event triggered when the calibration process ends. /// Subscribe to this event to receive notifications when /// eye tracking calibration stops, whether completed or cancelled. /// event Action OnCalibrationStopped; } }