mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 12:54:54 +00:00
Significantly restructure camera control interfaces and event arguments. Removed obsolete interfaces like `IHasCameras` and `CameraSelectedEventArgs`, and introduced generic event argument classes for improved type safety. Added `IHasCamerasWithControls` for better management of camera controls. Corrected the `IHasCameraMuteWithUnmuteReqeust` interface name. Reintroduced the `eCameraControlMode` enum to define camera control modes. These changes enhance the organization, clarity, and functionality of the camera control system.
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
using PepperDash.Essentials.Core;
|
|
|
|
namespace PepperDash.Essentials.Devices.Common.Cameras
|
|
{
|
|
|
|
/// <summary>
|
|
/// Interface for devices that have camera auto mode control
|
|
/// </summary>
|
|
public interface IHasCameraAutoMode : IHasCameraControls
|
|
{
|
|
/// <summary>
|
|
/// Enables or disables the camera's auto mode, which may include automatic adjustments for focus, exposure, and other settings.
|
|
/// </summary>
|
|
void CameraAutoModeOn();
|
|
|
|
/// <summary>
|
|
/// Disables the camera's auto mode, allowing for manual control of camera settings.
|
|
/// </summary>
|
|
void CameraAutoModeOff();
|
|
|
|
/// <summary>
|
|
/// Toggles the camera's auto mode state. If the camera is in auto mode, it will switch to manual mode, and vice versa.
|
|
/// </summary>
|
|
void CameraAutoModeToggle();
|
|
|
|
/// <summary>
|
|
/// Feedback that indicates whether the camera's auto mode is currently enabled.
|
|
/// </summary>
|
|
BoolFeedback CameraAutoModeIsOnFeedback { get; }
|
|
}
|
|
}
|