// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

import 'dart:typed_data';

import 'package:tencent_live_fluttify/src/ios/ios.export.g.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';

import 'package:foundation_fluttify/foundation_fluttify.dart';

class TXLivePushConfig extends NSObject  {
  //region constants
  static const String name__ = 'TXLivePushConfig';

  
  //endregion

  //region creators
  static Future<TXLivePushConfig> create__({ bool init = true /* ios only */ }) async {
    final refId = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('ObjectFactory::createTXLivePushConfig', {'init': init});
    final object = TXLivePushConfig()..refId = refId..tag__ = 'tencent_live_fluttify';
    return object;
  }
  
  static Future<List<TXLivePushConfig>> create_batch__(int length, { bool init = true /* ios only */ }) async {
    if (false) {
      return Future.error('all args must have same length!');
    }
    final List resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('ObjectFactory::create_batchTXLivePushConfig', {'length': length, 'init': init});
  
    final List<TXLivePushConfig> typedResult = resultBatch.map((result) => TXLivePushConfig()..refId = result..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  //endregion

  //region getters
  Future<int> get_homeOrientation() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_homeOrientation", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_touchFocus() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_touchFocus", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableZoom() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableZoom", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<UIImage> get_watermark() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermark", {'__this__': this});
    return __result__ == null ? null : (UIImage()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  Future<CGPoint> get_watermarkPos() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermarkPos", {'__this__': this});
    return __result__ == null ? null : (CGPoint()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  Future<CGRect> get_watermarkNormalization() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermarkNormalization", {'__this__': this});
    return __result__ == null ? null : (CGRect()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  Future<int> get_localVideoMirrorType() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_localVideoMirrorType", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_pauseTime() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseTime", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_pauseFps() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseFps", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<UIImage> get_pauseImg() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseImg", {'__this__': this});
    return __result__ == null ? null : (UIImage()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  Future<int> get_videoResolution() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoResolution", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_videoFPS() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoFPS", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_videoEncodeGop() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoEncodeGop", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_videoBitratePIN() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitratePIN", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableAutoBitrate() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAutoBitrate", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_autoAdjustStrategy() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_autoAdjustStrategy", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_videoBitrateMax() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitrateMax", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_videoBitrateMin() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitrateMin", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_audioSampleRate() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_audioSampleRate", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_audioChannels() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_audioChannels", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableAudioPreview() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAudioPreview", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enablePureAudioPush() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enablePureAudioPush", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_connectRetryCount() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_connectRetryCount", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_connectRetryInterval() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_connectRetryInterval", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_customModeType() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_customModeType", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<CGSize> get_sampleBufferSize() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_sampleBufferSize", {'__this__': this});
    return __result__ == null ? null : (CGSize()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  Future<bool> get_autoSampleBufferSize() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_autoSampleBufferSize", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableNAS() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableNAS", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableAEC() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAEC", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableHWAcceleration() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableHWAcceleration", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableAudioAcceleration() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAudioAcceleration", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableAGC() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAGC", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<TXSystemAudioVolumeType> get_volumeType() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_volumeType", {'__this__': this});
    return __result__ == null ? null : ((__result__ as int).toTXSystemAudioVolumeType());
  }
  
  Future<bool> get_frontCamera() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_frontCamera", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<double> get_beautyFilterDepth() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_beautyFilterDepth", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<double> get_whiteningFilterDepth() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_whiteningFilterDepth", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<bool> get_enableNearestIP() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableNearestIP", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<int> get_rtmpChannelType() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_rtmpChannelType", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<Map> get_metaData() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_metaData", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  //endregion

  //region setters
  Future<void> set_homeOrientation(int homeOrientation) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_homeOrientation', <String, dynamic>{'__this__': this, "homeOrientation": homeOrientation});
  
  
  }
  
  Future<void> set_touchFocus(bool touchFocus) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_touchFocus', <String, dynamic>{'__this__': this, "touchFocus": touchFocus});
  
  
  }
  
  Future<void> set_enableZoom(bool enableZoom) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableZoom', <String, dynamic>{'__this__': this, "enableZoom": enableZoom});
  
  
  }
  
  Future<void> set_watermark(UIImage watermark) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_watermark', <String, dynamic>{'__this__': this, "watermark": watermark});
  
  
  }
  
  Future<void> set_watermarkPos(CGPoint watermarkPos) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_watermarkPos', <String, dynamic>{'__this__': this, "watermarkPos": watermarkPos});
  
  
  }
  
  Future<void> set_watermarkNormalization(CGRect watermarkNormalization) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_watermarkNormalization', <String, dynamic>{'__this__': this, "watermarkNormalization": watermarkNormalization});
  
  
  }
  
  Future<void> set_localVideoMirrorType(int localVideoMirrorType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_localVideoMirrorType', <String, dynamic>{'__this__': this, "localVideoMirrorType": localVideoMirrorType});
  
  
  }
  
  Future<void> set_pauseTime(int pauseTime) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_pauseTime', <String, dynamic>{'__this__': this, "pauseTime": pauseTime});
  
  
  }
  
  Future<void> set_pauseFps(int pauseFps) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_pauseFps', <String, dynamic>{'__this__': this, "pauseFps": pauseFps});
  
  
  }
  
  Future<void> set_pauseImg(UIImage pauseImg) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_pauseImg', <String, dynamic>{'__this__': this, "pauseImg": pauseImg});
  
  
  }
  
  Future<void> set_videoResolution(int videoResolution) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoResolution', <String, dynamic>{'__this__': this, "videoResolution": videoResolution});
  
  
  }
  
  Future<void> set_videoFPS(int videoFPS) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoFPS', <String, dynamic>{'__this__': this, "videoFPS": videoFPS});
  
  
  }
  
  Future<void> set_videoEncodeGop(int videoEncodeGop) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoEncodeGop', <String, dynamic>{'__this__': this, "videoEncodeGop": videoEncodeGop});
  
  
  }
  
  Future<void> set_videoBitratePIN(int videoBitratePIN) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoBitratePIN', <String, dynamic>{'__this__': this, "videoBitratePIN": videoBitratePIN});
  
  
  }
  
  Future<void> set_enableAutoBitrate(bool enableAutoBitrate) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableAutoBitrate', <String, dynamic>{'__this__': this, "enableAutoBitrate": enableAutoBitrate});
  
  
  }
  
  Future<void> set_autoAdjustStrategy(int autoAdjustStrategy) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_autoAdjustStrategy', <String, dynamic>{'__this__': this, "autoAdjustStrategy": autoAdjustStrategy});
  
  
  }
  
  Future<void> set_videoBitrateMax(int videoBitrateMax) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoBitrateMax', <String, dynamic>{'__this__': this, "videoBitrateMax": videoBitrateMax});
  
  
  }
  
  Future<void> set_videoBitrateMin(int videoBitrateMin) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_videoBitrateMin', <String, dynamic>{'__this__': this, "videoBitrateMin": videoBitrateMin});
  
  
  }
  
  Future<void> set_audioSampleRate(int audioSampleRate) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_audioSampleRate', <String, dynamic>{'__this__': this, "audioSampleRate": audioSampleRate});
  
  
  }
  
  Future<void> set_audioChannels(int audioChannels) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_audioChannels', <String, dynamic>{'__this__': this, "audioChannels": audioChannels});
  
  
  }
  
  Future<void> set_enableAudioPreview(bool enableAudioPreview) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableAudioPreview', <String, dynamic>{'__this__': this, "enableAudioPreview": enableAudioPreview});
  
  
  }
  
  Future<void> set_enablePureAudioPush(bool enablePureAudioPush) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enablePureAudioPush', <String, dynamic>{'__this__': this, "enablePureAudioPush": enablePureAudioPush});
  
  
  }
  
  Future<void> set_connectRetryCount(int connectRetryCount) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_connectRetryCount', <String, dynamic>{'__this__': this, "connectRetryCount": connectRetryCount});
  
  
  }
  
  Future<void> set_connectRetryInterval(int connectRetryInterval) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_connectRetryInterval', <String, dynamic>{'__this__': this, "connectRetryInterval": connectRetryInterval});
  
  
  }
  
  Future<void> set_customModeType(int customModeType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_customModeType', <String, dynamic>{'__this__': this, "customModeType": customModeType});
  
  
  }
  
  Future<void> set_sampleBufferSize(CGSize sampleBufferSize) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_sampleBufferSize', <String, dynamic>{'__this__': this, "sampleBufferSize": sampleBufferSize});
  
  
  }
  
  Future<void> set_autoSampleBufferSize(bool autoSampleBufferSize) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_autoSampleBufferSize', <String, dynamic>{'__this__': this, "autoSampleBufferSize": autoSampleBufferSize});
  
  
  }
  
  Future<void> set_enableNAS(bool enableNAS) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableNAS', <String, dynamic>{'__this__': this, "enableNAS": enableNAS});
  
  
  }
  
  Future<void> set_enableAEC(bool enableAEC) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableAEC', <String, dynamic>{'__this__': this, "enableAEC": enableAEC});
  
  
  }
  
  Future<void> set_enableHWAcceleration(bool enableHWAcceleration) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableHWAcceleration', <String, dynamic>{'__this__': this, "enableHWAcceleration": enableHWAcceleration});
  
  
  }
  
  Future<void> set_enableAudioAcceleration(bool enableAudioAcceleration) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableAudioAcceleration', <String, dynamic>{'__this__': this, "enableAudioAcceleration": enableAudioAcceleration});
  
  
  }
  
  Future<void> set_enableAGC(bool enableAGC) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableAGC', <String, dynamic>{'__this__': this, "enableAGC": enableAGC});
  
  
  }
  
  Future<void> set_volumeType(TXSystemAudioVolumeType volumeType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_volumeType', <String, dynamic>{'__this__': this, "volumeType": volumeType.toValue()});
  
  
  }
  
  Future<void> set_frontCamera(bool frontCamera) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_frontCamera', <String, dynamic>{'__this__': this, "frontCamera": frontCamera});
  
  
  }
  
  Future<void> set_beautyFilterDepth(double beautyFilterDepth) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_beautyFilterDepth', <String, dynamic>{'__this__': this, "beautyFilterDepth": beautyFilterDepth});
  
  
  }
  
  Future<void> set_whiteningFilterDepth(double whiteningFilterDepth) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_whiteningFilterDepth', <String, dynamic>{'__this__': this, "whiteningFilterDepth": whiteningFilterDepth});
  
  
  }
  
  Future<void> set_enableNearestIP(bool enableNearestIP) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_enableNearestIP', <String, dynamic>{'__this__': this, "enableNearestIP": enableNearestIP});
  
  
  }
  
  Future<void> set_rtmpChannelType(int rtmpChannelType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_rtmpChannelType', <String, dynamic>{'__this__': this, "rtmpChannelType": rtmpChannelType});
  
  
  }
  
  Future<void> set_metaData(Map metaData) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('TXLivePushConfig::set_metaData', <String, dynamic>{'__this__': this, "metaData": metaData});
  
  
  }
  
  //endregion

  //region methods
  
  //endregion
}

extension TXLivePushConfig_Batch on List<TXLivePushConfig> {
  //region getters
  Future<List<int>> get_homeOrientation_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_homeOrientation_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_touchFocus_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_touchFocus_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableZoom_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableZoom_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<UIImage>> get_watermark_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermark_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => UIImage()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  Future<List<CGPoint>> get_watermarkPos_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermarkPos_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => CGPoint()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  Future<List<CGRect>> get_watermarkNormalization_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_watermarkNormalization_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => CGRect()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  Future<List<int>> get_localVideoMirrorType_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_localVideoMirrorType_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_pauseTime_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseTime_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_pauseFps_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseFps_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<UIImage>> get_pauseImg_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_pauseImg_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => UIImage()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoResolution_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoResolution_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoFPS_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoFPS_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoEncodeGop_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoEncodeGop_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoBitratePIN_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitratePIN_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableAutoBitrate_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAutoBitrate_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_autoAdjustStrategy_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_autoAdjustStrategy_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoBitrateMax_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitrateMax_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_videoBitrateMin_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_videoBitrateMin_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_audioSampleRate_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_audioSampleRate_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_audioChannels_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_audioChannels_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableAudioPreview_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAudioPreview_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enablePureAudioPush_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enablePureAudioPush_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_connectRetryCount_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_connectRetryCount_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_connectRetryInterval_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_connectRetryInterval_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_customModeType_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_customModeType_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<CGSize>> get_sampleBufferSize_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_sampleBufferSize_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => CGSize()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  Future<List<bool>> get_autoSampleBufferSize_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_autoSampleBufferSize_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableNAS_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableNAS_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableAEC_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAEC_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableHWAcceleration_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableHWAcceleration_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableAudioAcceleration_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAudioAcceleration_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableAGC_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableAGC_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<TXSystemAudioVolumeType>> get_volumeType_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_volumeType_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => (__result__ as int).toTXSystemAudioVolumeType()).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_frontCamera_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_frontCamera_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<double>> get_beautyFilterDepth_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_beautyFilterDepth_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<double>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<double>> get_whiteningFilterDepth_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_whiteningFilterDepth_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<double>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<bool>> get_enableNearestIP_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_enableNearestIP_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<bool>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<int>> get_rtmpChannelType_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_rtmpChannelType_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<Map>> get_metaData_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("TXLivePushConfig::get_metaData_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<Map>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  //endregion

  //region setters
  Future<void> set_homeOrientation_batch(List<int> homeOrientation) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_homeOrientation_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "homeOrientation": homeOrientation[__i__]}]);
  
  
  }
  
  Future<void> set_touchFocus_batch(List<bool> touchFocus) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_touchFocus_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "touchFocus": touchFocus[__i__]}]);
  
  
  }
  
  Future<void> set_enableZoom_batch(List<bool> enableZoom) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableZoom_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableZoom": enableZoom[__i__]}]);
  
  
  }
  
  Future<void> set_watermark_batch(List<UIImage> watermark) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_watermark_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "watermark": watermark[__i__]}]);
  
  
  }
  
  Future<void> set_watermarkPos_batch(List<CGPoint> watermarkPos) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_watermarkPos_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "watermarkPos": watermarkPos[__i__]}]);
  
  
  }
  
  Future<void> set_watermarkNormalization_batch(List<CGRect> watermarkNormalization) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_watermarkNormalization_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "watermarkNormalization": watermarkNormalization[__i__]}]);
  
  
  }
  
  Future<void> set_localVideoMirrorType_batch(List<int> localVideoMirrorType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_localVideoMirrorType_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "localVideoMirrorType": localVideoMirrorType[__i__]}]);
  
  
  }
  
  Future<void> set_pauseTime_batch(List<int> pauseTime) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_pauseTime_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "pauseTime": pauseTime[__i__]}]);
  
  
  }
  
  Future<void> set_pauseFps_batch(List<int> pauseFps) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_pauseFps_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "pauseFps": pauseFps[__i__]}]);
  
  
  }
  
  Future<void> set_pauseImg_batch(List<UIImage> pauseImg) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_pauseImg_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "pauseImg": pauseImg[__i__]}]);
  
  
  }
  
  Future<void> set_videoResolution_batch(List<int> videoResolution) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoResolution_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoResolution": videoResolution[__i__]}]);
  
  
  }
  
  Future<void> set_videoFPS_batch(List<int> videoFPS) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoFPS_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoFPS": videoFPS[__i__]}]);
  
  
  }
  
  Future<void> set_videoEncodeGop_batch(List<int> videoEncodeGop) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoEncodeGop_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoEncodeGop": videoEncodeGop[__i__]}]);
  
  
  }
  
  Future<void> set_videoBitratePIN_batch(List<int> videoBitratePIN) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoBitratePIN_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoBitratePIN": videoBitratePIN[__i__]}]);
  
  
  }
  
  Future<void> set_enableAutoBitrate_batch(List<bool> enableAutoBitrate) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableAutoBitrate_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableAutoBitrate": enableAutoBitrate[__i__]}]);
  
  
  }
  
  Future<void> set_autoAdjustStrategy_batch(List<int> autoAdjustStrategy) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_autoAdjustStrategy_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "autoAdjustStrategy": autoAdjustStrategy[__i__]}]);
  
  
  }
  
  Future<void> set_videoBitrateMax_batch(List<int> videoBitrateMax) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoBitrateMax_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoBitrateMax": videoBitrateMax[__i__]}]);
  
  
  }
  
  Future<void> set_videoBitrateMin_batch(List<int> videoBitrateMin) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_videoBitrateMin_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "videoBitrateMin": videoBitrateMin[__i__]}]);
  
  
  }
  
  Future<void> set_audioSampleRate_batch(List<int> audioSampleRate) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_audioSampleRate_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "audioSampleRate": audioSampleRate[__i__]}]);
  
  
  }
  
  Future<void> set_audioChannels_batch(List<int> audioChannels) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_audioChannels_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "audioChannels": audioChannels[__i__]}]);
  
  
  }
  
  Future<void> set_enableAudioPreview_batch(List<bool> enableAudioPreview) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableAudioPreview_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableAudioPreview": enableAudioPreview[__i__]}]);
  
  
  }
  
  Future<void> set_enablePureAudioPush_batch(List<bool> enablePureAudioPush) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enablePureAudioPush_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enablePureAudioPush": enablePureAudioPush[__i__]}]);
  
  
  }
  
  Future<void> set_connectRetryCount_batch(List<int> connectRetryCount) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_connectRetryCount_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "connectRetryCount": connectRetryCount[__i__]}]);
  
  
  }
  
  Future<void> set_connectRetryInterval_batch(List<int> connectRetryInterval) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_connectRetryInterval_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "connectRetryInterval": connectRetryInterval[__i__]}]);
  
  
  }
  
  Future<void> set_customModeType_batch(List<int> customModeType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_customModeType_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "customModeType": customModeType[__i__]}]);
  
  
  }
  
  Future<void> set_sampleBufferSize_batch(List<CGSize> sampleBufferSize) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_sampleBufferSize_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "sampleBufferSize": sampleBufferSize[__i__]}]);
  
  
  }
  
  Future<void> set_autoSampleBufferSize_batch(List<bool> autoSampleBufferSize) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_autoSampleBufferSize_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "autoSampleBufferSize": autoSampleBufferSize[__i__]}]);
  
  
  }
  
  Future<void> set_enableNAS_batch(List<bool> enableNAS) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableNAS_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableNAS": enableNAS[__i__]}]);
  
  
  }
  
  Future<void> set_enableAEC_batch(List<bool> enableAEC) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableAEC_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableAEC": enableAEC[__i__]}]);
  
  
  }
  
  Future<void> set_enableHWAcceleration_batch(List<bool> enableHWAcceleration) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableHWAcceleration_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableHWAcceleration": enableHWAcceleration[__i__]}]);
  
  
  }
  
  Future<void> set_enableAudioAcceleration_batch(List<bool> enableAudioAcceleration) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableAudioAcceleration_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableAudioAcceleration": enableAudioAcceleration[__i__]}]);
  
  
  }
  
  Future<void> set_enableAGC_batch(List<bool> enableAGC) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableAGC_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableAGC": enableAGC[__i__]}]);
  
  
  }
  
  Future<void> set_volumeType_batch(List<TXSystemAudioVolumeType> volumeType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_volumeType_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "volumeType": volumeType[__i__].toValue()}]);
  
  
  }
  
  Future<void> set_frontCamera_batch(List<bool> frontCamera) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_frontCamera_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "frontCamera": frontCamera[__i__]}]);
  
  
  }
  
  Future<void> set_beautyFilterDepth_batch(List<double> beautyFilterDepth) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_beautyFilterDepth_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "beautyFilterDepth": beautyFilterDepth[__i__]}]);
  
  
  }
  
  Future<void> set_whiteningFilterDepth_batch(List<double> whiteningFilterDepth) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_whiteningFilterDepth_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "whiteningFilterDepth": whiteningFilterDepth[__i__]}]);
  
  
  }
  
  Future<void> set_enableNearestIP_batch(List<bool> enableNearestIP) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_enableNearestIP_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "enableNearestIP": enableNearestIP[__i__]}]);
  
  
  }
  
  Future<void> set_rtmpChannelType_batch(List<int> rtmpChannelType) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_rtmpChannelType_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "rtmpChannelType": rtmpChannelType[__i__]}]);
  
  
  }
  
  Future<void> set_metaData_batch(List<Map> metaData) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('TXLivePushConfig::set_metaData_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "metaData": metaData[__i__]}]);
  
  
  }
  
  //endregion

  //region methods
  
  //endregion
}