getHotMusic method
@detail api @author lihuan.wuti2ha @brief Gets hot music according to music types. @param customHotlistId custom hot music list ID. @param filterType The filter type of the music list. See ByteRTCMusicFilterType{@link #ByteRTCMusicFilterType}. Multiple filters can be combined by the bitwise-or operator. @note After calling this API, you will receive the music list through ktvManager:onHotMusicResult:errorCode:{@link #ByteRTCKTVManagerDelegate#ktvManager:onHotMusicResult:errorCode} callback.
Implementation
FutureOr<void> getHotMusic(NSArray<NSString> customHotlistId,
ByteRTCMusicFilterType filterType) async {
return await nativeCall(
'getHotMusic:filterType:', [customHotlistId, filterType.$value]);
}