mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +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.
30 lines
715 B
C#
30 lines
715 B
C#
|
|
namespace PepperDash.Essentials.Devices.Common.Cameras
|
|
{
|
|
/// <summary>
|
|
/// Defines the contract for IHasCameraFocusControl
|
|
/// </summary>
|
|
public interface IHasCameraFocusControl : IHasCameraControls
|
|
{
|
|
/// <summary>
|
|
/// Focuses the camera near
|
|
/// </summary>
|
|
void FocusNear();
|
|
|
|
/// <summary>
|
|
/// Focuses the camera far
|
|
/// </summary>
|
|
void FocusFar();
|
|
|
|
/// <summary>
|
|
/// Stops the camera focus movement
|
|
/// </summary>
|
|
void FocusStop();
|
|
|
|
/// <summary>
|
|
/// Triggers the camera's auto focus functionality, if available.
|
|
/// </summary>
|
|
void TriggerAutoFocus();
|
|
}
|
|
}
|