using Newtonsoft.Json; using PepperDash.Core; using PepperDash.Essentials.Core; using System; using System.Collections.Generic; namespace PepperDash.Essentials.Devices.Common.Cameras { /// /// Interface for devices that have cameras /// [Obsolete("Use IHasCamerasWithControls instead. This interface will be removed in a future version")] public interface IHasCameras : IKeyName { /// /// Event that is raised when a camera is selected /// event EventHandler CameraSelected; /// /// List of cameras on the device. This should be a list of CameraBase objects /// List Cameras { get; } /// /// The currently selected camera. This should be a CameraBase object /// CameraBase SelectedCamera { get; } /// /// Feedback that indicates the currently selected camera /// StringFeedback SelectedCameraFeedback { get; } /// /// Selects a camera from the list of available cameras based on the provided key. /// /// The unique identifier or name of the camera to select. void SelectCamera(string key); } }