From b90e5b2a0d4260c6fd4ed8fe710e585e464124fe Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Thu, 28 Mar 2024 19:56:17 -0600 Subject: [PATCH] feat: Adds IHasRoutingEndpoints and IShutdownPromptTimer interfaces --- .../Room/Interfaces.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/PepperDash.Essentials.Core/Room/Interfaces.cs b/src/PepperDash.Essentials.Core/Room/Interfaces.cs index c0de8113..89f9da7a 100644 --- a/src/PepperDash.Essentials.Core/Room/Interfaces.cs +++ b/src/PepperDash.Essentials.Core/Room/Interfaces.cs @@ -51,11 +51,32 @@ namespace PepperDash.Essentials.Core void RunDirectRoute(string sourceKey, string destinationKey, eRoutingSignalType type = eRoutingSignalType.AudioVideo); } + /// + /// Describes a room with matrix routing + /// public interface IHasMatrixRouting { string MatrixRoutingDeviceKey { get; } } + /// + /// Describes a room with routing endpoints + /// + public interface IHasRoutingEndpoints + { + List EndpointKeys { get; } + } + + /// + /// Describes a room with a shutdown prompt timer + /// + public interface IShutdownPromptTimer + { + SecondsCountdownTimer ShutdownPromptTimer { get; } + + void SetShutdownPromptSeconds(int seconds); + } + /// /// For rooms that default presentation only routing ///