RTCKTVManager class abstract
KTV 管理接口类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< void> - 清除当前音乐缓存文件,包括音乐音频和歌词
-
downloadLyric(
String musicId, {DownloadLyricType lyricType}) → CancelableOperation< DownloadResult> - 下载歌词
-
downloadMidi(
String musicId) → CancelableOperation< DownloadResult> - 下载 MIDI 文件
-
downloadMusic(
String musicId, {void onReceiveProgress(int downloadProgress)?}) → CancelableOperation< DownloadResult> - 下载音乐
-
getHotMusic(
{List< MusicHotType> hotTypes, List<MusicFilterType> filters}) → Future<void> - 根据热榜类别获取每个榜单的歌曲列表
-
getKTVPlayer(
) → FutureOr< RTCKTVPlayer?> - 获取 KTV 播放器
-
getMusicDetail(
String musicId) → Future< void> - 获取音乐详细信息
-
getMusicList(
{int pageNum, int pageSize, List< MusicFilterType> filters}) → Future<void> - 获取歌曲列表
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchMusic(
{required String keyWord, int pageNum, int pageSize, List< MusicFilterType> filters}) → Future<void> - 根据关键词搜索歌曲
-
setKTVManagerEventHandler(
RTCKTVManagerEventHandler? eventHandler) → void - 设置 KTV 回调
-
setMaxCacheSize(
int maxCacheSizeMB) → Future< void> - 设置歌曲文件最大占用的本地缓存
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited