getLyric abstract method
获取音乐资源的歌词下载地址。
成功调用该方法后,SDK 会触发 onLyricResult 回调报告歌词的下载地址。
songCode音乐资源的编号,用于标识音乐资源。lyricType歌词类型: 0:xml 格式。 1:lrc 格式。
Returns 一个 requestId ,为本次请求的唯一标识。
Implementation
Future<String> getLyric({required int songCode, int lyricType = 0});