mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 12:15:01 +00:00
feat: rename MC Message interface
This commit is contained in:
@@ -20,7 +20,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControl3 : IMobileControl
|
public interface IMobileControl3 : IMobileControl
|
||||||
{
|
{
|
||||||
void SendMessageObject(object o);
|
void SendMessageObject(IMobileControlMessage o);
|
||||||
|
|
||||||
void AddAction(string key, Action<JToken> action);
|
void AddAction(string key, Action<JToken> action);
|
||||||
|
|
||||||
@@ -41,15 +41,15 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
void RegisterWithAppServer(IMobileControl3 appServerController);
|
void RegisterWithAppServer(IMobileControl3 appServerController);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IMobileControlResponseMessage
|
public interface IMobileControlMessage
|
||||||
{
|
{
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
string Type { get; }
|
string Type { get; }
|
||||||
|
|
||||||
[JsonProperty("clientId")]
|
[JsonProperty("clientId", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
object ClientId { get; }
|
string ClientId { get; }
|
||||||
|
|
||||||
[JsonProperty("content")]
|
[JsonProperty("content", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
JToken Content { get; }
|
JToken Content { get; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user