ByteRTCKTVManagerDelegate class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ByteRTCKTVManagerDelegate

Constructors

ByteRTCKTVManagerDelegate([NativeClassOptions? options])

Properties

$instance ↔ dynamic
getter/setter pairinherited
$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
emit(String name, List args) → dynamic
inherited
ktvManager$onClearCacheResult(ByteRTCKTVManager ktvManager, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @brief 清理文件缓存结果回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param errorCode 错误码,非 0 为失败,参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
ktvManager$onDownloadFailed$errorCode(ByteRTCKTVManager ktvManager, int downloadId, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 下载失败回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param downloadId 下载任务 ID。 @param errorCode 错误码,参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
ktvManager$onDownloadMusicProgress$progress(ByteRTCKTVManager ktvManager, int downloadId, int downloadPercentage) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 歌曲文件下载进度回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param downloadId 下载任务 ID。 @param downloadPercentage 下载进度百分比,取值范围 0,100
ktvManager$onDownloadSuccess$downloadResult(ByteRTCKTVManager ktvManager, int downloadId, ByteRTCDownloadResult result) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 下载成功回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param downloadId 下载任务 ID。 @param result 下载信息,参看 ByteRTCDownloadResult{@link #ByteRTCDownloadResult}。
ktvManager$onHotMusicResult$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCHotMusicInfo> hotMusicInfos, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 热榜歌曲结果回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param hotMusicInfos 热榜歌曲数据数组,参看 ByteRTCHotMusicInfo{@link #ByteRTCHotMusicInfo}。 @param errorCode 错误码,成功时返回 0,其余值参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
ktvManager$onMusicDetailResult$errorCode(ByteRTCKTVManager ktvManager, ByteRTCMusicInfo music, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 歌曲详细信息回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param music 歌曲数据,参看 ByteRTCMusicInfo{@link #ByteRTCMusicInfo}。 @param errorCode 错误码,成功时返回 0,其余值参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
ktvManager$onMusicListResult$totalSize$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCMusicInfo> musics, int totalSize, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 歌曲列表回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param musics 歌曲数据数组,参看 ByteRTCMusicInfo{@link #ByteRTCMusicInfo}。 @param totalSize 数据条目总数。 @param errorCode 错误码,成功时返回 0,其余值参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
ktvManager$onSearchMusicResult$totalSize$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCMusicInfo> musics, int totalSize, ByteRTCKTVErrorCode errorCode) FutureOr<void>
@detail callback @author lihuan.wuti2ha @brief 搜索歌曲结果回调。 @param ktvManager 参考 ByteRTCKTVManager{@link #ByteRTCKTVManager}。 @param musics 歌曲数据数组,参看 ByteRTCMusicInfo{@link #ByteRTCMusicInfo}。 @param totalSize 数据条目总数。 @param errorCode 错误码,成功时返回 0,其余值参看 ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}。
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerEvent(String name, dynamic method) → void
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateInstance(dynamic instance) → void
inherited
updateResource(NativeResource resource) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited