From c045c8e7a61caeff657424d64fe2448f2e088b95 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Wed, 20 Sep 2017 09:55:18 -0600 Subject: [PATCH] Minor updates to Codec Interfaces --- .../Devices/CodecInterfaces.cs | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs b/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs index f815525e..49f02cfb 100644 --- a/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs +++ b/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs @@ -6,6 +6,34 @@ using Crestron.SimplSharp; namespace PepperDash.Essentials.Core { + /// + /// Requirements for a device that has dialing capabilities + /// + public interface IHasDialer + { + // Add requirements for Dialer functionality + + void Dial(string number); + void EndCall(object activeCall); + void EndAllCalls(); + void AcceptCall(); + void RejectCall(); + void SendDtmf(string digit); + + IntFeedback ActiveCallCountFeedback { get; } + BoolFeedback IncomingCallFeedback { get; } + + + + } + + /// + /// Defines minimum volume controls for a codec device with dialing capabilities + /// + public interface ICodecAudio : IBasicVolumeWithFeedback, IPrivacy + { + + } /// /// Adds control of codec receive volume