downloadMidi method
@detail api @author lihuan.wuti2ha @brief Download MIDI files. @param musicId Music ID. @return Download task ID. @note - If the file is successfully downloaded, you will receive ktvManager:onDownloadSuccess:downloadResult:{@link #ByteRTCKTVManagerDelegate#ktvManager:onDownloadSuccess:downloadResult}. - If the file fails to download, you will receive ktvManager:onDownloadFailed:errorCode:{@link #ByteRTCKTVManagerDelegate#ktvManager:onDownloadFailed:errorCode}.
Implementation
FutureOr<int> downloadMidi(NSString musicId) async {
return await nativeCall('downloadMidi:', [musicId]);
}