getKTVPlayer method

FutureOr<ByteRTCKTVPlayer> getKTVPlayer()

@detail api @author lihuan.wuti2ha @brief 获取 KTV 播放器。 @return KTV 播放器接口,参看 ByteRTCKTVPlayer{@link #ByteRTCKTVPlayer}。

Implementation

FutureOr<ByteRTCKTVPlayer> getKTVPlayer() async {
  final result = await nativeCall('getKTVPlayer', []);
  return packObject(
      result,
      () =>
          ByteRTCKTVPlayer(const NativeClassOptions([], disableInit: true)));
}