From ab6f1f36f0cdf13bf96f615dd41e0cb5ad4233f8 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Mon, 15 Jan 2024 14:31:24 -0700 Subject: [PATCH] feat: Updates IMobileControl3 and adds IMobileControlMessenger --- .../DeviceTypeInterfaces/IMobileControl.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs index 8af3acf2..ae2826fd 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControl.cs @@ -26,6 +26,20 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces void AddAction(string key, object action); void RemoveAction(string key); + + void AddDeviceMessenger(IMobileControlMessenger messenger); + + bool CheckForDeviceMessenger(string key); + } + + /// + /// Describes a mobile control messenger + /// + public interface IMobileControlMessenger: IKeyed + { + IMobileControl3 AppServerController { get; } + string MessagePath { get; } + void RegisterWithAppServer(IMobileControl3 appServerController); } public interface IMobileControlResponseMessage