public static void Cancel() { Task.Run(() => { NetAccess.CancelAsync(); }); state = EnumSearchState.Finished; notifyState(); }
public async static Task <string> GetUrlLrc(string songId) { var json = await NetAccess.Json(XiamiUrl.url_song, "id", songId); if (json == null) { return(null); } try { return(json.lyric as string); } catch { return(null); } }