onLyricResult

Callback for retrieving the lyric download URL.

virtual void onLyricResult(const char* requestId, int64_t songCode, const char* lyricUrl, MusicContentCenterStateReason reason) = 0;

After calling getLyric to get the lyric download URL of a song, the SDK triggers this callback.

Parameters

requestId
Request ID, used to identify the uniqueness of this request.
songCode
ID of the music resource, used to identify the song.
lyricUrl
Download URL of the lyrics.
reason
Request status code. See MusicContentCenterStateReason.