2 using System.Collections.Generic;
5 using System.Threading.Tasks;
7 using SharpLib.Display;
9 namespace SharpDisplayManager
12 /// A UI thread copy of a client relevant data.
13 /// Keeping this copy in the UI thread helps us deal with threading issues.
15 public class ClientData
17 public ClientData(string aSessionId, ICallback aCallback)
19 SessionId = aSessionId;
21 Priority = Priorities.Default;
27 public string SessionId { get; set; }
28 public string Name { get; set; }
29 public uint Priority { get; set; }
30 public Target Target { get; set; }
31 public View View { get; set; }
32 public ICallback Callback { get; set; }
35 public bool HasNewLayout { get; set; }
38 public DateTime LastSwitchTime { get; set; }