/// <summary>
 /// Parses the config from a dictionary.
 /// </summary>
 /// <param name="jsonNode">The displayTracker as a dictionary.</param>
 public void ParseConfig(Dictionary <string, object> dictionary)
 {
     // Check for tracker a tracker
     if (dictionary.ContainsKey("displayID"))
     {
         display = PlatformConfig.current.displays.First(i => i.id == (string)dictionary["displayID"]);
     }
     if (dictionary.ContainsKey("trackerID"))
     {
         tracker = PlatformConfig.current.trackers.First(i => i.id == (string)dictionary["trackerID"]);
     }
 }
 /// <summary>
 /// Parses the config from a json.
 /// </summary>
 /// <param name="jsonNode">The displayTracker json.</param>
 public void ParseConfig(SimpleJSON.JSONNode jsonNode)
 {
     // Check for tracker a tracker
     if (jsonNode["displayID"] != null)
     {
         display = PlatformConfig.current.displays.First(i => i.id == jsonNode["displayID"].Value);
     }
     if (jsonNode["trackerID"] != null)
     {
         tracker = PlatformConfig.current.trackers.First(i => i.id == jsonNode["trackerID"].Value);
     }
 }