getKTVPlayer method

FutureOr<ByteRTCKTVPlayer> getKTVPlayer()

@detail api @author lihuan.wuti2ha @brief Gets the KTV player. @return KTV player interfaces. See ByteRTCKTVPlayer{@link #ByteRTCKTVPlayer}.

Implementation

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