mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
feat: updates to IMobileControl3 and adds IMobileControlResponseMessage
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
@@ -19,6 +20,25 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
public interface IMobileControl3 : IMobileControl
|
public interface IMobileControl3 : IMobileControl
|
||||||
{
|
{
|
||||||
void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);
|
void CreateMobileControlRoomBridge(IEssentialsRoom room, IMobileControl parent);
|
||||||
|
|
||||||
|
void SendMessageObject(object o);
|
||||||
|
|
||||||
|
void AddAction(string key, object action);
|
||||||
|
|
||||||
|
void RemoveAction(string key);
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface IMobileControlResponseMessage
|
||||||
|
{
|
||||||
|
[JsonProperty("type")]
|
||||||
|
string Type { get; }
|
||||||
|
|
||||||
|
[JsonProperty("clientId")]
|
||||||
|
object ClientId { get; }
|
||||||
|
|
||||||
|
[JsonProperty("content")]
|
||||||
|
object Content { get; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user