downloadLyric abstract method

CancelableOperation<DownloadResult> downloadLyric(
  1. String musicId, {
  2. DownloadLyricType lyricType,
})

下载歌词

musicId:音乐 ID。
lyricType:歌词文件类型。

方法调用成功则收到 DownloadResult 对象;若调用失败,则返回失败原因,具体参看 KTVErrorCode

Implementation

CancelableOperation<DownloadResult> downloadLyric(
  String musicId, {
  DownloadLyricType lyricType,
});