////////////////////////////////////////////////////////// // GENERATED BY FLUTTIFY. DO NOT EDIT IT. ////////////////////////////////////////////////////////// #import "SubHandler3.h" #import "FluttifyMessageCodec.h" // Dart端一次方法调用所存在的栈, 只有当MethodChannel传递参数受限时, 再启用这个容器 extern NSMutableDictionary* STACK; // Dart端随机存取对象的容器 extern NSMutableDictionary* HEAP; // 日志打印开关 extern BOOL enableLog; @implementation TencentLiveFluttifyPlugin (SubHandler3) - (NSDictionary*) getSubHandler3 { __weak __typeof(self)weakSelf = self; return @{ @"TXVideoInfo::get_fps_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; float result = ref.fps; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXVideoInfo::get_bitrate_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; int result = ref.bitrate; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXVideoInfo::get_audioSampleRate_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; int result = ref.audioSampleRate; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXVideoInfo::get_width_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; int result = ref.width; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXVideoInfo::get_height_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; int result = ref.height; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXVideoInfo::get_angle_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; int result = ref.angle; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPreviewParam::get_videoView_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"]; UIView* result = ref.videoView; // return a ref id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPreviewParam::get_renderMode_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"]; TXPreviewRenderMode result = ref.renderMode; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSubtitle::get_titleImage_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; UIImage* result = ref.titleImage; // return a ref id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSubtitle::get_frame_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; CGRect result = ref.frame; // 返回值: 结构体 NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)]; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSubtitle::get_startTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; CGFloat result = ref.startTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSubtitle::get_endTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; CGFloat result = ref.endTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPaster::get_pasterImage_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPaster* ref = (TXPaster*) args[@"__this__"]; UIImage* result = ref.pasterImage; // return a ref id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPaster::get_frame_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPaster* ref = (TXPaster*) args[@"__this__"]; CGRect result = ref.frame; // 返回值: 结构体 NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)]; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPaster::get_startTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPaster* ref = (TXPaster*) args[@"__this__"]; CGFloat result = ref.startTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXPaster::get_endTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXPaster* ref = (TXPaster*) args[@"__this__"]; CGFloat result = ref.endTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXAnimatedPaster::get_animatedPasterpath_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; NSString* result = ref.animatedPasterpath; // 返回值: jsonable id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXAnimatedPaster::get_frame_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; CGRect result = ref.frame; // 返回值: 结构体 NSValue* __result__ = [NSValue value:&result withObjCType:@encode(CGRect)]; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXAnimatedPaster::get_rotateAngle_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; CGFloat result = ref.rotateAngle; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXAnimatedPaster::get_startTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; CGFloat result = ref.startTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXAnimatedPaster::get_endTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; CGFloat result = ref.endTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXRepeat::get_startTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXRepeat* ref = (TXRepeat*) args[@"__this__"]; CGFloat result = ref.startTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXRepeat::get_endTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXRepeat* ref = (TXRepeat*) args[@"__this__"]; CGFloat result = ref.endTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXRepeat::get_repeatTimes_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXRepeat* ref = (TXRepeat*) args[@"__this__"]; int result = ref.repeatTimes; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSpeed::get_startTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSpeed* ref = (TXSpeed*) args[@"__this__"]; CGFloat result = ref.startTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSpeed::get_endTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSpeed* ref = (TXSpeed*) args[@"__this__"]; CGFloat result = ref.endTime; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXSpeed::get_speedLevel_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXSpeed* ref = (TXSpeed*) args[@"__this__"]; TXSpeedLevel result = ref.speedLevel; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXGenerateResult::get_retCode_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"]; TXGenerateResultCode result = ref.retCode; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXGenerateResult::get_descMsg_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"]; NSString* result = ref.descMsg; // 返回值: jsonable id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXJoinerResult::get_retCode_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"]; TXJoinerResultCode result = ref.retCode; // 返回值: Value NSObject* __result__ = @(result); [resultList addObject:__result__]; } methodResult(resultList); }, @"TXJoinerResult::get_descMsg_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { NSMutableArray* resultList = [NSMutableArray array]; for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // ref object TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"]; NSString* result = ref.descMsg; // 返回值: jsonable id __result__ = result; [resultList addObject:__result__]; } methodResult(resultList); }, @"TXLivePush::set_config": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePush::set_config"); } // args // ref arg TXLivePushConfig* config = (TXLivePushConfig*) args[@"config"]; // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.config = config; methodResult(@"success"); }, @"TXLivePush::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePush::set_delegate"); } // args // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.delegate = weakSelf; methodResult(@"success"); }, @"TXLivePush::set_recordDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePush::set_recordDelegate"); } // args // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.recordDelegate = weakSelf; methodResult(@"success"); }, @"TXLivePush::set_videoProcessDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePush::set_videoProcessDelegate"); } // args // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.videoProcessDelegate = weakSelf; methodResult(@"success"); }, @"TXLivePush::set_audioProcessDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePush::set_audioProcessDelegate"); } // args // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.audioProcessDelegate = weakSelf; methodResult(@"success"); }, @"TXCAVRoom::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoom::set_delegate"); } // args // ref TXCAVRoom* ref = (TXCAVRoom*) args[@"__this__"]; ref.delegate = weakSelf; methodResult(@"success"); }, @"TXLiveBase::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLiveBase::set_delegate"); } // args // ref TXLiveBase* ref = (TXLiveBase*) args[@"__this__"]; ref.delegate = weakSelf; methodResult(@"success"); }, @"TXLivePlayConfig::set_cacheTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_cacheTime"); } // args // jsonable arg float cacheTime = [args[@"cacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.cacheTime = cacheTime; methodResult(@"success"); }, @"TXLivePlayConfig::set_bAutoAdjustCacheTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_bAutoAdjustCacheTime"); } // args // jsonable arg BOOL bAutoAdjustCacheTime = [args[@"bAutoAdjustCacheTime"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.bAutoAdjustCacheTime = bAutoAdjustCacheTime; methodResult(@"success"); }, @"TXLivePlayConfig::set_maxAutoAdjustCacheTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_maxAutoAdjustCacheTime"); } // args // jsonable arg float maxAutoAdjustCacheTime = [args[@"maxAutoAdjustCacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.maxAutoAdjustCacheTime = maxAutoAdjustCacheTime; methodResult(@"success"); }, @"TXLivePlayConfig::set_minAutoAdjustCacheTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_minAutoAdjustCacheTime"); } // args // jsonable arg float minAutoAdjustCacheTime = [args[@"minAutoAdjustCacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.minAutoAdjustCacheTime = minAutoAdjustCacheTime; methodResult(@"success"); }, @"TXLivePlayConfig::set_videoBlockThreshold": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_videoBlockThreshold"); } // args // jsonable arg int videoBlockThreshold = [args[@"videoBlockThreshold"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.videoBlockThreshold = videoBlockThreshold; methodResult(@"success"); }, @"TXLivePlayConfig::set_connectRetryCount": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_connectRetryCount"); } // args // jsonable arg int connectRetryCount = [args[@"connectRetryCount"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.connectRetryCount = connectRetryCount; methodResult(@"success"); }, @"TXLivePlayConfig::set_connectRetryInterval": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_connectRetryInterval"); } // args // jsonable arg int connectRetryInterval = [args[@"connectRetryInterval"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.connectRetryInterval = connectRetryInterval; methodResult(@"success"); }, @"TXLivePlayConfig::set_enableAEC": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_enableAEC"); } // args // jsonable arg BOOL enableAEC = [args[@"enableAEC"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableAEC = enableAEC; methodResult(@"success"); }, @"TXLivePlayConfig::set_enableMessage": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_enableMessage"); } // args // jsonable arg BOOL enableMessage = [args[@"enableMessage"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableMessage = enableMessage; methodResult(@"success"); }, @"TXLivePlayConfig::set_enableMetaData": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_enableMetaData"); } // args // jsonable arg BOOL enableMetaData = [args[@"enableMetaData"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableMetaData = enableMetaData; methodResult(@"success"); }, @"TXLivePlayConfig::set_flvSessionKey": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_flvSessionKey"); } // args // jsonable arg NSString* flvSessionKey = (NSString*) args[@"flvSessionKey"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.flvSessionKey = flvSessionKey; methodResult(@"success"); }, @"TXLivePlayConfig::set_enableNearestIP": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_enableNearestIP"); } // args // jsonable arg BOOL enableNearestIP = [args[@"enableNearestIP"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableNearestIP = enableNearestIP; methodResult(@"success"); }, @"TXLivePlayConfig::set_rtmpChannelType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_rtmpChannelType"); } // args // jsonable arg int rtmpChannelType = [args[@"rtmpChannelType"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.rtmpChannelType = rtmpChannelType; methodResult(@"success"); }, @"TXLivePlayConfig::set_cacheFolderPath": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_cacheFolderPath"); } // args // jsonable arg NSString* cacheFolderPath = (NSString*) args[@"cacheFolderPath"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.cacheFolderPath = cacheFolderPath; methodResult(@"success"); }, @"TXLivePlayConfig::set_maxCacheItems": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_maxCacheItems"); } // args // jsonable arg int maxCacheItems = [args[@"maxCacheItems"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.maxCacheItems = maxCacheItems; methodResult(@"success"); }, @"TXLivePlayConfig::set_headers": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayConfig::set_headers"); } // args // jsonable arg NSDictionary* headers = (NSDictionary*) args[@"headers"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.headers = headers; methodResult(@"success"); }, @"TXCAVRoomConfig::set_enableVideoHWAcceleration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_enableVideoHWAcceleration"); } // args // jsonable arg BOOL enableVideoHWAcceleration = [args[@"enableVideoHWAcceleration"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enableVideoHWAcceleration = enableVideoHWAcceleration; methodResult(@"success"); }, @"TXCAVRoomConfig::set_enableAudioHWAcceleration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_enableAudioHWAcceleration"); } // args // jsonable arg BOOL enableAudioHWAcceleration = [args[@"enableAudioHWAcceleration"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enableAudioHWAcceleration = enableAudioHWAcceleration; methodResult(@"success"); }, @"TXCAVRoomConfig::set_homeOrientation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_homeOrientation"); } // args // jsonable arg int homeOrientation = [args[@"homeOrientation"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.homeOrientation = homeOrientation; methodResult(@"success"); }, @"TXCAVRoomConfig::set_renderMode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_renderMode"); } // args // jsonable arg int renderMode = [args[@"renderMode"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.renderMode = renderMode; methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoFPS": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_videoFPS"); } // args // jsonable arg int videoFPS = [args[@"videoFPS"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoFPS = videoFPS; methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoBitrate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_videoBitrate"); } // args // jsonable arg int videoBitrate = [args[@"videoBitrate"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoBitrate = videoBitrate; methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoAspect": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_videoAspect"); } // args // jsonable arg int videoAspect = [args[@"videoAspect"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoAspect = videoAspect; methodResult(@"success"); }, @"TXCAVRoomConfig::set_frontCamera": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_frontCamera"); } // args // jsonable arg BOOL frontCamera = [args[@"frontCamera"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.frontCamera = frontCamera; methodResult(@"success"); }, @"TXCAVRoomConfig::set_pauseFps": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_pauseFps"); } // args // jsonable arg int pauseFps = [args[@"pauseFps"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.pauseFps = pauseFps; methodResult(@"success"); }, @"TXCAVRoomConfig::set_pauseImg": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_pauseImg"); } // args // ref arg UIImage* pauseImg = (UIImage*) args[@"pauseImg"]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.pauseImg = pauseImg; methodResult(@"success"); }, @"TXCAVRoomConfig::set_enablePureAudioPush": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomConfig::set_enablePureAudioPush"); } // args // jsonable arg BOOL enablePureAudioPush = [args[@"enablePureAudioPush"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enablePureAudioPush = enablePureAudioPush; methodResult(@"success"); }, @"TXVideoEditer::set_generateDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoEditer::set_generateDelegate"); } // args // ref TXVideoEditer* ref = (TXVideoEditer*) args[@"__this__"]; ref.generateDelegate = weakSelf; methodResult(@"success"); }, @"TXVideoEditer::set_previewDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoEditer::set_previewDelegate"); } // args // ref TXVideoEditer* ref = (TXVideoEditer*) args[@"__this__"]; ref.previewDelegate = weakSelf; methodResult(@"success"); }, @"TXVideoEditer::set_videoProcessDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoEditer::set_videoProcessDelegate"); } // args // ref TXVideoEditer* ref = (TXVideoEditer*) args[@"__this__"]; ref.videoProcessDelegate = weakSelf; methodResult(@"success"); }, @"TXVideoJoiner::set_joinerDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoJoiner::set_joinerDelegate"); } // args // ref TXVideoJoiner* ref = (TXVideoJoiner*) args[@"__this__"]; ref.joinerDelegate = weakSelf; methodResult(@"success"); }, @"TXVideoJoiner::set_previewDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoJoiner::set_previewDelegate"); } // args // ref TXVideoJoiner* ref = (TXVideoJoiner*) args[@"__this__"]; ref.previewDelegate = weakSelf; methodResult(@"success"); }, @"TXCAVRoomParam::set_roomID": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomParam::set_roomID"); } // args // jsonable arg UInt32 roomID = [args[@"roomID"] intValue]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.roomID = roomID; methodResult(@"success"); }, @"TXCAVRoomParam::set_authBits": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomParam::set_authBits"); } // args // enum arg TXEAVRoomAuthBits authBits = (TXEAVRoomAuthBits) [args[@"authBits"] integerValue]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.authBits = authBits; methodResult(@"success"); }, @"TXCAVRoomParam::set_authBuffer": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXCAVRoomParam::set_authBuffer"); } // args // ref arg NSData* authBuffer = (NSData*) args[@"authBuffer"]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.authBuffer = authBuffer; methodResult(@"success"); }, @"TXBitrateItem::set_index": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXBitrateItem::set_index"); } // args // jsonable arg NSInteger index = [args[@"index"] longValue]; // ref TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"]; ref.index = index; methodResult(@"success"); }, @"TXBitrateItem::set_width": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXBitrateItem::set_width"); } // args // jsonable arg NSInteger width = [args[@"width"] longValue]; // ref TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"]; ref.width = width; methodResult(@"success"); }, @"TXBitrateItem::set_height": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXBitrateItem::set_height"); } // args // jsonable arg NSInteger height = [args[@"height"] longValue]; // ref TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"]; ref.height = height; methodResult(@"success"); }, @"TXBitrateItem::set_bitrate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXBitrateItem::set_bitrate"); } // args // jsonable arg NSInteger bitrate = [args[@"bitrate"] longValue]; // ref TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"]; ref.bitrate = bitrate; methodResult(@"success"); }, @"TXPlayerAuthParams::set_appId": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_appId"); } // args // jsonable arg int appId = [args[@"appId"] intValue]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.appId = appId; methodResult(@"success"); }, @"TXPlayerAuthParams::set_fileId": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_fileId"); } // args // jsonable arg NSString* fileId = (NSString*) args[@"fileId"]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.fileId = fileId; methodResult(@"success"); }, @"TXPlayerAuthParams::set_timeout": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_timeout"); } // args // jsonable arg NSString* timeout = (NSString*) args[@"timeout"]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.timeout = timeout; methodResult(@"success"); }, @"TXPlayerAuthParams::set_exper": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_exper"); } // args // jsonable arg int exper = [args[@"exper"] intValue]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.exper = exper; methodResult(@"success"); }, @"TXPlayerAuthParams::set_us": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_us"); } // args // jsonable arg NSString* us = (NSString*) args[@"us"]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.us = us; methodResult(@"success"); }, @"TXPlayerAuthParams::set_sign": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_sign"); } // args // jsonable arg NSString* sign = (NSString*) args[@"sign"]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.sign = sign; methodResult(@"success"); }, @"TXPlayerAuthParams::set_https": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPlayerAuthParams::set_https"); } // args // jsonable arg BOOL https = [args[@"https"] boolValue]; // ref TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"]; ref.https = https; methodResult(@"success"); }, @"TXLivePushConfig::set_homeOrientation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_homeOrientation"); } // args // jsonable arg int homeOrientation = [args[@"homeOrientation"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.homeOrientation = homeOrientation; methodResult(@"success"); }, @"TXLivePushConfig::set_touchFocus": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_touchFocus"); } // args // jsonable arg BOOL touchFocus = [args[@"touchFocus"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.touchFocus = touchFocus; methodResult(@"success"); }, @"TXLivePushConfig::set_enableZoom": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableZoom"); } // args // jsonable arg BOOL enableZoom = [args[@"enableZoom"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableZoom = enableZoom; methodResult(@"success"); }, @"TXLivePushConfig::set_watermark": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_watermark"); } // args // ref arg UIImage* watermark = (UIImage*) args[@"watermark"]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.watermark = watermark; methodResult(@"success"); }, @"TXLivePushConfig::set_watermarkPos": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_watermarkPos"); } // args // struct arg NSValue* watermarkPosValue = (NSValue*) args[@"watermarkPos"]; CGPoint watermarkPos; [watermarkPosValue getValue:&watermarkPos]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.watermarkPos = watermarkPos; methodResult(@"success"); }, @"TXLivePushConfig::set_watermarkNormalization": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_watermarkNormalization"); } // args // struct arg NSValue* watermarkNormalizationValue = (NSValue*) args[@"watermarkNormalization"]; CGRect watermarkNormalization; [watermarkNormalizationValue getValue:&watermarkNormalization]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.watermarkNormalization = watermarkNormalization; methodResult(@"success"); }, @"TXLivePushConfig::set_localVideoMirrorType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_localVideoMirrorType"); } // args // jsonable arg int localVideoMirrorType = [args[@"localVideoMirrorType"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.localVideoMirrorType = localVideoMirrorType; methodResult(@"success"); }, @"TXLivePushConfig::set_pauseTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_pauseTime"); } // args // jsonable arg int pauseTime = [args[@"pauseTime"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.pauseTime = pauseTime; methodResult(@"success"); }, @"TXLivePushConfig::set_pauseFps": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_pauseFps"); } // args // jsonable arg int pauseFps = [args[@"pauseFps"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.pauseFps = pauseFps; methodResult(@"success"); }, @"TXLivePushConfig::set_pauseImg": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_pauseImg"); } // args // ref arg UIImage* pauseImg = (UIImage*) args[@"pauseImg"]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.pauseImg = pauseImg; methodResult(@"success"); }, @"TXLivePushConfig::set_videoResolution": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoResolution"); } // args // jsonable arg int videoResolution = [args[@"videoResolution"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoResolution = videoResolution; methodResult(@"success"); }, @"TXLivePushConfig::set_videoFPS": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoFPS"); } // args // jsonable arg int videoFPS = [args[@"videoFPS"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoFPS = videoFPS; methodResult(@"success"); }, @"TXLivePushConfig::set_videoEncodeGop": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoEncodeGop"); } // args // jsonable arg int videoEncodeGop = [args[@"videoEncodeGop"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoEncodeGop = videoEncodeGop; methodResult(@"success"); }, @"TXLivePushConfig::set_videoBitratePIN": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoBitratePIN"); } // args // jsonable arg int videoBitratePIN = [args[@"videoBitratePIN"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoBitratePIN = videoBitratePIN; methodResult(@"success"); }, @"TXLivePushConfig::set_enableAutoBitrate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableAutoBitrate"); } // args // jsonable arg BOOL enableAutoBitrate = [args[@"enableAutoBitrate"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableAutoBitrate = enableAutoBitrate; methodResult(@"success"); }, @"TXLivePushConfig::set_autoAdjustStrategy": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_autoAdjustStrategy"); } // args // jsonable arg int autoAdjustStrategy = [args[@"autoAdjustStrategy"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.autoAdjustStrategy = autoAdjustStrategy; methodResult(@"success"); }, @"TXLivePushConfig::set_videoBitrateMax": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoBitrateMax"); } // args // jsonable arg int videoBitrateMax = [args[@"videoBitrateMax"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoBitrateMax = videoBitrateMax; methodResult(@"success"); }, @"TXLivePushConfig::set_videoBitrateMin": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_videoBitrateMin"); } // args // jsonable arg int videoBitrateMin = [args[@"videoBitrateMin"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.videoBitrateMin = videoBitrateMin; methodResult(@"success"); }, @"TXLivePushConfig::set_audioSampleRate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_audioSampleRate"); } // args // jsonable arg int audioSampleRate = [args[@"audioSampleRate"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.audioSampleRate = audioSampleRate; methodResult(@"success"); }, @"TXLivePushConfig::set_audioChannels": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_audioChannels"); } // args // jsonable arg int audioChannels = [args[@"audioChannels"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.audioChannels = audioChannels; methodResult(@"success"); }, @"TXLivePushConfig::set_enableAudioPreview": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableAudioPreview"); } // args // jsonable arg BOOL enableAudioPreview = [args[@"enableAudioPreview"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableAudioPreview = enableAudioPreview; methodResult(@"success"); }, @"TXLivePushConfig::set_enablePureAudioPush": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enablePureAudioPush"); } // args // jsonable arg BOOL enablePureAudioPush = [args[@"enablePureAudioPush"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enablePureAudioPush = enablePureAudioPush; methodResult(@"success"); }, @"TXLivePushConfig::set_connectRetryCount": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_connectRetryCount"); } // args // jsonable arg int connectRetryCount = [args[@"connectRetryCount"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.connectRetryCount = connectRetryCount; methodResult(@"success"); }, @"TXLivePushConfig::set_connectRetryInterval": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_connectRetryInterval"); } // args // jsonable arg int connectRetryInterval = [args[@"connectRetryInterval"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.connectRetryInterval = connectRetryInterval; methodResult(@"success"); }, @"TXLivePushConfig::set_customModeType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_customModeType"); } // args // jsonable arg int customModeType = [args[@"customModeType"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.customModeType = customModeType; methodResult(@"success"); }, @"TXLivePushConfig::set_sampleBufferSize": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_sampleBufferSize"); } // args // struct arg NSValue* sampleBufferSizeValue = (NSValue*) args[@"sampleBufferSize"]; CGSize sampleBufferSize; [sampleBufferSizeValue getValue:&sampleBufferSize]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.sampleBufferSize = sampleBufferSize; methodResult(@"success"); }, @"TXLivePushConfig::set_autoSampleBufferSize": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_autoSampleBufferSize"); } // args // jsonable arg BOOL autoSampleBufferSize = [args[@"autoSampleBufferSize"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.autoSampleBufferSize = autoSampleBufferSize; methodResult(@"success"); }, @"TXLivePushConfig::set_enableNAS": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableNAS"); } // args // jsonable arg BOOL enableNAS = [args[@"enableNAS"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableNAS = enableNAS; methodResult(@"success"); }, @"TXLivePushConfig::set_enableAEC": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableAEC"); } // args // jsonable arg BOOL enableAEC = [args[@"enableAEC"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableAEC = enableAEC; methodResult(@"success"); }, @"TXLivePushConfig::set_enableHWAcceleration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableHWAcceleration"); } // args // jsonable arg BOOL enableHWAcceleration = [args[@"enableHWAcceleration"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableHWAcceleration = enableHWAcceleration; methodResult(@"success"); }, @"TXLivePushConfig::set_enableAudioAcceleration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableAudioAcceleration"); } // args // jsonable arg BOOL enableAudioAcceleration = [args[@"enableAudioAcceleration"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableAudioAcceleration = enableAudioAcceleration; methodResult(@"success"); }, @"TXLivePushConfig::set_enableAGC": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableAGC"); } // args // jsonable arg BOOL enableAGC = [args[@"enableAGC"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableAGC = enableAGC; methodResult(@"success"); }, @"TXLivePushConfig::set_volumeType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_volumeType"); } // args // enum arg TXSystemAudioVolumeType volumeType = (TXSystemAudioVolumeType) [args[@"volumeType"] integerValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.volumeType = volumeType; methodResult(@"success"); }, @"TXLivePushConfig::set_frontCamera": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_frontCamera"); } // args // jsonable arg BOOL frontCamera = [args[@"frontCamera"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.frontCamera = frontCamera; methodResult(@"success"); }, @"TXLivePushConfig::set_beautyFilterDepth": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_beautyFilterDepth"); } // args // jsonable arg float beautyFilterDepth = [args[@"beautyFilterDepth"] floatValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.beautyFilterDepth = beautyFilterDepth; methodResult(@"success"); }, @"TXLivePushConfig::set_whiteningFilterDepth": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_whiteningFilterDepth"); } // args // jsonable arg float whiteningFilterDepth = [args[@"whiteningFilterDepth"] floatValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.whiteningFilterDepth = whiteningFilterDepth; methodResult(@"success"); }, @"TXLivePushConfig::set_enableNearestIP": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_enableNearestIP"); } // args // jsonable arg BOOL enableNearestIP = [args[@"enableNearestIP"] boolValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.enableNearestIP = enableNearestIP; methodResult(@"success"); }, @"TXLivePushConfig::set_rtmpChannelType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_rtmpChannelType"); } // args // jsonable arg int rtmpChannelType = [args[@"rtmpChannelType"] intValue]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.rtmpChannelType = rtmpChannelType; methodResult(@"success"); }, @"TXLivePushConfig::set_metaData": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePushConfig::set_metaData"); } // args // jsonable arg NSDictionary* metaData = (NSDictionary*) args[@"metaData"]; // ref TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"]; ref.metaData = metaData; methodResult(@"success"); }, @"TXLivePlayer::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_delegate"); } // args // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.delegate = weakSelf; methodResult(@"success"); }, @"TXLivePlayer::set_videoProcessDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_videoProcessDelegate"); } // args // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.videoProcessDelegate = weakSelf; methodResult(@"success"); }, @"TXLivePlayer::set_audioRawDataDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_audioRawDataDelegate"); } // args // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.audioRawDataDelegate = weakSelf; methodResult(@"success"); }, @"TXLivePlayer::set_enableHWAcceleration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_enableHWAcceleration"); } // args // jsonable arg BOOL enableHWAcceleration = [args[@"enableHWAcceleration"] boolValue]; // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.enableHWAcceleration = enableHWAcceleration; methodResult(@"success"); }, @"TXLivePlayer::set_config": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_config"); } // args // ref arg TXLivePlayConfig* config = (TXLivePlayConfig*) args[@"config"]; // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.config = config; methodResult(@"success"); }, @"TXLivePlayer::set_recordDelegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_recordDelegate"); } // args // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.recordDelegate = weakSelf; methodResult(@"success"); }, @"TXLivePlayer::set_isAutoPlay": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXLivePlayer::set_isAutoPlay"); } // args // jsonable arg BOOL isAutoPlay = [args[@"isAutoPlay"] boolValue]; // ref TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"]; ref.isAutoPlay = isAutoPlay; methodResult(@"success"); }, @"TXRecordResult::set_retCode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRecordResult::set_retCode"); } // args // enum arg TXRecordResultCode retCode = (TXRecordResultCode) [args[@"retCode"] integerValue]; // ref TXRecordResult* ref = (TXRecordResult*) args[@"__this__"]; ref.retCode = retCode; methodResult(@"success"); }, @"TXRecordResult::set_descMsg": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRecordResult::set_descMsg"); } // args // jsonable arg NSString* descMsg = (NSString*) args[@"descMsg"]; // ref TXRecordResult* ref = (TXRecordResult*) args[@"__this__"]; ref.descMsg = descMsg; methodResult(@"success"); }, @"TXRecordResult::set_videoPath": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRecordResult::set_videoPath"); } // args // jsonable arg NSString* videoPath = (NSString*) args[@"videoPath"]; // ref TXRecordResult* ref = (TXRecordResult*) args[@"__this__"]; ref.videoPath = videoPath; methodResult(@"success"); }, @"TXRecordResult::set_coverImage": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRecordResult::set_coverImage"); } // args // ref arg UIImage* coverImage = (UIImage*) args[@"coverImage"]; // ref TXRecordResult* ref = (TXRecordResult*) args[@"__this__"]; ref.coverImage = coverImage; methodResult(@"success"); }, @"TXVideoInfo::set_coverImage": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_coverImage"); } // args // ref arg UIImage* coverImage = (UIImage*) args[@"coverImage"]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.coverImage = coverImage; methodResult(@"success"); }, @"TXVideoInfo::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_duration"); } // args // jsonable arg CGFloat duration = [args[@"duration"] floatValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.duration = duration; methodResult(@"success"); }, @"TXVideoInfo::set_fileSize": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_fileSize"); } // args // jsonable arg unsigned long long fileSize = [args[@"fileSize"] unsignedLongLongValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.fileSize = fileSize; methodResult(@"success"); }, @"TXVideoInfo::set_fps": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_fps"); } // args // jsonable arg float fps = [args[@"fps"] floatValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.fps = fps; methodResult(@"success"); }, @"TXVideoInfo::set_bitrate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_bitrate"); } // args // jsonable arg int bitrate = [args[@"bitrate"] intValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.bitrate = bitrate; methodResult(@"success"); }, @"TXVideoInfo::set_audioSampleRate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_audioSampleRate"); } // args // jsonable arg int audioSampleRate = [args[@"audioSampleRate"] intValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.audioSampleRate = audioSampleRate; methodResult(@"success"); }, @"TXVideoInfo::set_width": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_width"); } // args // jsonable arg int width = [args[@"width"] intValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.width = width; methodResult(@"success"); }, @"TXVideoInfo::set_height": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_height"); } // args // jsonable arg int height = [args[@"height"] intValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.height = height; methodResult(@"success"); }, @"TXVideoInfo::set_angle": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXVideoInfo::set_angle"); } // args // jsonable arg int angle = [args[@"angle"] intValue]; // ref TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"]; ref.angle = angle; methodResult(@"success"); }, @"TXPreviewParam::set_videoView": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPreviewParam::set_videoView"); } // args // ref arg UIView* videoView = (UIView*) args[@"videoView"]; // ref TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"]; ref.videoView = videoView; methodResult(@"success"); }, @"TXPreviewParam::set_renderMode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPreviewParam::set_renderMode"); } // args // enum arg TXPreviewRenderMode renderMode = (TXPreviewRenderMode) [args[@"renderMode"] integerValue]; // ref TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"]; ref.renderMode = renderMode; methodResult(@"success"); }, @"TXSubtitle::set_titleImage": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSubtitle::set_titleImage"); } // args // ref arg UIImage* titleImage = (UIImage*) args[@"titleImage"]; // ref TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; ref.titleImage = titleImage; methodResult(@"success"); }, @"TXSubtitle::set_frame": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSubtitle::set_frame"); } // args // struct arg NSValue* frameValue = (NSValue*) args[@"frame"]; CGRect frame; [frameValue getValue:&frame]; // ref TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; ref.frame = frame; methodResult(@"success"); }, @"TXSubtitle::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSubtitle::set_startTime"); } // args // jsonable arg CGFloat startTime = [args[@"startTime"] floatValue]; // ref TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; ref.startTime = startTime; methodResult(@"success"); }, @"TXSubtitle::set_endTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSubtitle::set_endTime"); } // args // jsonable arg CGFloat endTime = [args[@"endTime"] floatValue]; // ref TXSubtitle* ref = (TXSubtitle*) args[@"__this__"]; ref.endTime = endTime; methodResult(@"success"); }, @"TXPaster::set_pasterImage": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPaster::set_pasterImage"); } // args // ref arg UIImage* pasterImage = (UIImage*) args[@"pasterImage"]; // ref TXPaster* ref = (TXPaster*) args[@"__this__"]; ref.pasterImage = pasterImage; methodResult(@"success"); }, @"TXPaster::set_frame": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPaster::set_frame"); } // args // struct arg NSValue* frameValue = (NSValue*) args[@"frame"]; CGRect frame; [frameValue getValue:&frame]; // ref TXPaster* ref = (TXPaster*) args[@"__this__"]; ref.frame = frame; methodResult(@"success"); }, @"TXPaster::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPaster::set_startTime"); } // args // jsonable arg CGFloat startTime = [args[@"startTime"] floatValue]; // ref TXPaster* ref = (TXPaster*) args[@"__this__"]; ref.startTime = startTime; methodResult(@"success"); }, @"TXPaster::set_endTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXPaster::set_endTime"); } // args // jsonable arg CGFloat endTime = [args[@"endTime"] floatValue]; // ref TXPaster* ref = (TXPaster*) args[@"__this__"]; ref.endTime = endTime; methodResult(@"success"); }, @"TXAnimatedPaster::set_animatedPasterpath": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXAnimatedPaster::set_animatedPasterpath"); } // args // jsonable arg NSString* animatedPasterpath = (NSString*) args[@"animatedPasterpath"]; // ref TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; ref.animatedPasterpath = animatedPasterpath; methodResult(@"success"); }, @"TXAnimatedPaster::set_frame": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXAnimatedPaster::set_frame"); } // args // struct arg NSValue* frameValue = (NSValue*) args[@"frame"]; CGRect frame; [frameValue getValue:&frame]; // ref TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; ref.frame = frame; methodResult(@"success"); }, @"TXAnimatedPaster::set_rotateAngle": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXAnimatedPaster::set_rotateAngle"); } // args // jsonable arg CGFloat rotateAngle = [args[@"rotateAngle"] floatValue]; // ref TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; ref.rotateAngle = rotateAngle; methodResult(@"success"); }, @"TXAnimatedPaster::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXAnimatedPaster::set_startTime"); } // args // jsonable arg CGFloat startTime = [args[@"startTime"] floatValue]; // ref TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; ref.startTime = startTime; methodResult(@"success"); }, @"TXAnimatedPaster::set_endTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXAnimatedPaster::set_endTime"); } // args // jsonable arg CGFloat endTime = [args[@"endTime"] floatValue]; // ref TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"]; ref.endTime = endTime; methodResult(@"success"); }, @"TXRepeat::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRepeat::set_startTime"); } // args // jsonable arg CGFloat startTime = [args[@"startTime"] floatValue]; // ref TXRepeat* ref = (TXRepeat*) args[@"__this__"]; ref.startTime = startTime; methodResult(@"success"); }, @"TXRepeat::set_endTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRepeat::set_endTime"); } // args // jsonable arg CGFloat endTime = [args[@"endTime"] floatValue]; // ref TXRepeat* ref = (TXRepeat*) args[@"__this__"]; ref.endTime = endTime; methodResult(@"success"); }, @"TXRepeat::set_repeatTimes": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXRepeat::set_repeatTimes"); } // args // jsonable arg int repeatTimes = [args[@"repeatTimes"] intValue]; // ref TXRepeat* ref = (TXRepeat*) args[@"__this__"]; ref.repeatTimes = repeatTimes; methodResult(@"success"); }, @"TXSpeed::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSpeed::set_startTime"); } // args // jsonable arg CGFloat startTime = [args[@"startTime"] floatValue]; // ref TXSpeed* ref = (TXSpeed*) args[@"__this__"]; ref.startTime = startTime; methodResult(@"success"); }, @"TXSpeed::set_endTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSpeed::set_endTime"); } // args // jsonable arg CGFloat endTime = [args[@"endTime"] floatValue]; // ref TXSpeed* ref = (TXSpeed*) args[@"__this__"]; ref.endTime = endTime; methodResult(@"success"); }, @"TXSpeed::set_speedLevel": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXSpeed::set_speedLevel"); } // args // enum arg TXSpeedLevel speedLevel = (TXSpeedLevel) [args[@"speedLevel"] integerValue]; // ref TXSpeed* ref = (TXSpeed*) args[@"__this__"]; ref.speedLevel = speedLevel; methodResult(@"success"); }, @"TXGenerateResult::set_retCode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXGenerateResult::set_retCode"); } // args // enum arg TXGenerateResultCode retCode = (TXGenerateResultCode) [args[@"retCode"] integerValue]; // ref TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"]; ref.retCode = retCode; methodResult(@"success"); }, @"TXGenerateResult::set_descMsg": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXGenerateResult::set_descMsg"); } // args // jsonable arg NSString* descMsg = (NSString*) args[@"descMsg"]; // ref TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"]; ref.descMsg = descMsg; methodResult(@"success"); }, @"TXJoinerResult::set_retCode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXJoinerResult::set_retCode"); } // args // enum arg TXJoinerResultCode retCode = (TXJoinerResultCode) [args[@"retCode"] integerValue]; // ref TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"]; ref.retCode = retCode; methodResult(@"success"); }, @"TXJoinerResult::set_descMsg": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"TXJoinerResult::set_descMsg"); } // args // jsonable arg NSString* descMsg = (NSString*) args[@"descMsg"]; // ref TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"]; ref.descMsg = descMsg; methodResult(@"success"); }, @"TXLivePush::set_config_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg TXLivePushConfig* config = (TXLivePushConfig*) args[@"config"]; // ref TXLivePush* ref = (TXLivePush*) args[@"__this__"]; ref.config = config; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_cacheTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg float cacheTime = [args[@"cacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.cacheTime = cacheTime; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_bAutoAdjustCacheTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL bAutoAdjustCacheTime = [args[@"bAutoAdjustCacheTime"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.bAutoAdjustCacheTime = bAutoAdjustCacheTime; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_maxAutoAdjustCacheTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg float maxAutoAdjustCacheTime = [args[@"maxAutoAdjustCacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.maxAutoAdjustCacheTime = maxAutoAdjustCacheTime; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_minAutoAdjustCacheTime_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg float minAutoAdjustCacheTime = [args[@"minAutoAdjustCacheTime"] floatValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.minAutoAdjustCacheTime = minAutoAdjustCacheTime; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_videoBlockThreshold_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int videoBlockThreshold = [args[@"videoBlockThreshold"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.videoBlockThreshold = videoBlockThreshold; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_connectRetryCount_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int connectRetryCount = [args[@"connectRetryCount"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.connectRetryCount = connectRetryCount; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_connectRetryInterval_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int connectRetryInterval = [args[@"connectRetryInterval"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.connectRetryInterval = connectRetryInterval; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_enableAEC_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableAEC = [args[@"enableAEC"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableAEC = enableAEC; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_enableMessage_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableMessage = [args[@"enableMessage"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableMessage = enableMessage; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_enableMetaData_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableMetaData = [args[@"enableMetaData"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableMetaData = enableMetaData; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_flvSessionKey_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* flvSessionKey = (NSString*) args[@"flvSessionKey"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.flvSessionKey = flvSessionKey; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_enableNearestIP_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableNearestIP = [args[@"enableNearestIP"] boolValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.enableNearestIP = enableNearestIP; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_rtmpChannelType_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int rtmpChannelType = [args[@"rtmpChannelType"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.rtmpChannelType = rtmpChannelType; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_cacheFolderPath_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* cacheFolderPath = (NSString*) args[@"cacheFolderPath"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.cacheFolderPath = cacheFolderPath; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_maxCacheItems_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int maxCacheItems = [args[@"maxCacheItems"] intValue]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.maxCacheItems = maxCacheItems; methodResult(@"success"); } methodResult(@"success"); }, @"TXLivePlayConfig::set_headers_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSDictionary* headers = (NSDictionary*) args[@"headers"]; // ref TXLivePlayConfig* ref = (TXLivePlayConfig*) args[@"__this__"]; ref.headers = headers; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_enableVideoHWAcceleration_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableVideoHWAcceleration = [args[@"enableVideoHWAcceleration"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enableVideoHWAcceleration = enableVideoHWAcceleration; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_enableAudioHWAcceleration_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enableAudioHWAcceleration = [args[@"enableAudioHWAcceleration"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enableAudioHWAcceleration = enableAudioHWAcceleration; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_homeOrientation_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int homeOrientation = [args[@"homeOrientation"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.homeOrientation = homeOrientation; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_renderMode_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int renderMode = [args[@"renderMode"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.renderMode = renderMode; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoFPS_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int videoFPS = [args[@"videoFPS"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoFPS = videoFPS; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoBitrate_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int videoBitrate = [args[@"videoBitrate"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoBitrate = videoBitrate; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_videoAspect_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int videoAspect = [args[@"videoAspect"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.videoAspect = videoAspect; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_frontCamera_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL frontCamera = [args[@"frontCamera"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.frontCamera = frontCamera; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_pauseFps_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg int pauseFps = [args[@"pauseFps"] intValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.pauseFps = pauseFps; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_pauseImg_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg UIImage* pauseImg = (UIImage*) args[@"pauseImg"]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.pauseImg = pauseImg; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomConfig::set_enablePureAudioPush_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL enablePureAudioPush = [args[@"enablePureAudioPush"] boolValue]; // ref TXCAVRoomConfig* ref = (TXCAVRoomConfig*) args[@"__this__"]; ref.enablePureAudioPush = enablePureAudioPush; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomParam::set_roomID_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg UInt32 roomID = [args[@"roomID"] intValue]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.roomID = roomID; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomParam::set_authBits_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // enum arg TXEAVRoomAuthBits authBits = (TXEAVRoomAuthBits) [args[@"authBits"] integerValue]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.authBits = authBits; methodResult(@"success"); } methodResult(@"success"); }, @"TXCAVRoomParam::set_authBuffer_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg NSData* authBuffer = (NSData*) args[@"authBuffer"]; // ref TXCAVRoomParam* ref = (TXCAVRoomParam*) args[@"__this__"]; ref.authBuffer = authBuffer; methodResult(@"success"); } methodResult(@"success"); }, @"TXBitrateItem::set_index_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (int __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger index = [args[@"index"] longValue]; // ref TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"]; ref.index = index; methodResult(@"success"); } methodResult(@"success"); }, }; } @end