我想在Java中开发音乐播放器。我需要提供曲目信息提供曲目标题,专辑标题和艺术家的名字。 我的代码如下类型gracenote java api
results = api.searchTrack("The Final Countdown", "The Final Countdown", "Europe");
System.out.println(results.getAlbumData(0, "genre").toString());
我所得到的输出是
[[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected]]
请你帮我这个,什么是这些结果意味着
可能的结果会返回一些集合,并且您可能需要遍历集合调用更具体的getter方法,而不是toString来查看所获得的结果。你已经为你的图书馆获得了API(希望),并且你需要研究它以查看需要调用的内容。 –