ByteRTCKTVManagerDelegate class
- Inheritance
-
- Object
- NativeClass
- NativeObserverClass
- ByteRTCKTVManagerDelegate
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 Clear Cache result callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param errorCode Error code. See ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}.
-
ktvManager$onDownloadFailed$errorCode(ByteRTCKTVManager ktvManager, int downloadId, ByteRTCKTVErrorCode errorCode)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief Download failure callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param downloadId Download task ID.
@param errorCode Error code. See ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}.
-
ktvManager$onDownloadMusicProgress$progress(ByteRTCKTVManager ktvManager, int downloadId, int downloadPercentage)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief Music file download progress callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param downloadId Download task ID.
@param downloadPercentage The percentage of download progress, in the range of
0,100.
-
ktvManager$onDownloadSuccess$downloadResult(ByteRTCKTVManager ktvManager, int downloadId, ByteRTCDownloadResult result)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief Download success callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param downloadId Download task ID.
@param result Download result. See ByteRTCDownloadResult{@link #ByteRTCDownloadResult}.
-
ktvManager$onHotMusicResult$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCHotMusicInfo> hotMusicInfos, ByteRTCKTVErrorCode errorCode)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief The hot music callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param hotMusicInfos Array of the hot music information. See ByteRTCHotMusicInfo{@link #ByteRTCHotMusicInfo}.
@param errorCode Error code. The value 0 indicates success. For the indications of other values, see ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}.
-
ktvManager$onMusicDetailResult$errorCode(ByteRTCKTVManager ktvManager, ByteRTCMusicInfo music, ByteRTCKTVErrorCode errorCode)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief The music detail callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param music Music information. See ByteRTCMusicInfo{@link #ByteRTCMusicInfo}.
@param errorCode Error code. The value 0 indicates success. For the indications of other values, see ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}.
-
ktvManager$onMusicListResult$totalSize$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCMusicInfo> musics, int totalSize, ByteRTCKTVErrorCode errorCode)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief The music list callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param musics Array of the music information. See ByteRTCMusicInfo{@link #ByteRTCMusicInfo}.
@param totalSize The total size of the music list.
@param errorCode Error code. The value 0 indicates success. For the indications of other values, see ByteRTCKTVErrorCode{@link #ByteRTCKTVErrorCode}.
-
ktvManager$onSearchMusicResult$totalSize$errorCode(ByteRTCKTVManager ktvManager, NSArray<ByteRTCMusicInfo> musics, int totalSize, ByteRTCKTVErrorCode errorCode)
→ FutureOr<void>
-
@detail callback
@author lihuan.wuti2ha
@brief The search music callback.
@param ktvManager Refer to ByteRTCKTVManager{@link #ByteRTCKTVManager}.
@param musics Array of the music information. See ByteRTCMusicInfo{@link #ByteRTCMusicInfo}.
@param totalSize The total size of the music list.
@param errorCode Error code. The value 0 indicates success. For the indications of other values, see 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