public void Poll() { var response = Sw41Plus.HttpGet(GetUrl); try { json = JObject.Parse(response); json = json["audioInfo"] as JObject; FillFromJsonObject(); } catch (Exception ex) { ErrorMessage.Error("Sw41Plus.AudioSettings.Poll: Error handling Poll() response: {0}", ex.Message); } }
public void Poll() { var response = Sw41Plus.HttpGet(GetUrl); ParseMatrix(response); }