You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2767 lines
120 KiB
2767 lines
120 KiB
4 years ago
|
//////////////////////////////////////////////////////////
|
||
|
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
|
||
|
//////////////////////////////////////////////////////////
|
||
|
|
||
|
#import "SubHandler4.h"
|
||
|
#import "FluttifyMessageCodec.h"
|
||
|
|
||
|
// Dart端一次方法调用所存在的栈, 只有当MethodChannel传递参数受限时, 再启用这个容器
|
||
|
extern NSMutableDictionary<NSString*, NSObject*>* STACK;
|
||
|
// Dart端随机存取对象的容器
|
||
|
extern NSMutableDictionary<NSNumber*, NSObject*>* HEAP;
|
||
|
// 日志打印开关
|
||
|
extern BOOL enableLog;
|
||
|
|
||
|
@implementation TencentLiveFluttifyPlugin (SubHandler4)
|
||
|
- (NSDictionary<NSString*, Handler>*) getSubHandler4 {
|
||
|
__weak __typeof(self)weakSelf = self;
|
||
|
return @{
|
||
|
@"TXBitrateItem::set_width_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSInteger width = [args[@"width"] longValue];
|
||
|
|
||
|
// ref
|
||
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
||
|
|
||
|
ref.width = width;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXBitrateItem::set_height_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSInteger height = [args[@"height"] longValue];
|
||
|
|
||
|
// ref
|
||
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
||
|
|
||
|
ref.height = height;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXBitrateItem::set_bitrate_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSInteger bitrate = [args[@"bitrate"] longValue];
|
||
|
|
||
|
// ref
|
||
|
TXBitrateItem* ref = (TXBitrateItem*) args[@"__this__"];
|
||
|
|
||
|
ref.bitrate = bitrate;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_appId_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int appId = [args[@"appId"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.appId = appId;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_fileId_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* fileId = (NSString*) args[@"fileId"];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.fileId = fileId;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_timeout_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* timeout = (NSString*) args[@"timeout"];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.timeout = timeout;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_exper_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int exper = [args[@"exper"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.exper = exper;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_us_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* us = (NSString*) args[@"us"];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.us = us;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_sign_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* sign = (NSString*) args[@"sign"];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.sign = sign;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPlayerAuthParams::set_https_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL https = [args[@"https"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXPlayerAuthParams* ref = (TXPlayerAuthParams*) args[@"__this__"];
|
||
|
|
||
|
ref.https = https;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_homeOrientation_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int homeOrientation = [args[@"homeOrientation"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.homeOrientation = homeOrientation;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_touchFocus_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL touchFocus = [args[@"touchFocus"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.touchFocus = touchFocus;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableZoom_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableZoom = [args[@"enableZoom"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableZoom = enableZoom;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_watermark_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* watermark = (UIImage*) args[@"watermark"];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.watermark = watermark;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_watermarkPos_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* watermarkPosValue = (NSValue*) args[@"watermarkPos"];
|
||
|
CGPoint watermarkPos;
|
||
|
[watermarkPosValue getValue:&watermarkPos];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.watermarkPos = watermarkPos;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_watermarkNormalization_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* watermarkNormalizationValue = (NSValue*) args[@"watermarkNormalization"];
|
||
|
CGRect watermarkNormalization;
|
||
|
[watermarkNormalizationValue getValue:&watermarkNormalization];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.watermarkNormalization = watermarkNormalization;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_localVideoMirrorType_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int localVideoMirrorType = [args[@"localVideoMirrorType"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.localVideoMirrorType = localVideoMirrorType;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_pauseTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int pauseTime = [args[@"pauseTime"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.pauseTime = pauseTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_pauseFps_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int pauseFps = [args[@"pauseFps"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.pauseFps = pauseFps;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_pauseImg_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* pauseImg = (UIImage*) args[@"pauseImg"];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.pauseImg = pauseImg;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoResolution_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoResolution = [args[@"videoResolution"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoResolution = videoResolution;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoFPS_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoFPS = [args[@"videoFPS"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoFPS = videoFPS;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoEncodeGop_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoEncodeGop = [args[@"videoEncodeGop"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoEncodeGop = videoEncodeGop;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoBitratePIN_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoBitratePIN = [args[@"videoBitratePIN"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoBitratePIN = videoBitratePIN;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableAutoBitrate_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableAutoBitrate = [args[@"enableAutoBitrate"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableAutoBitrate = enableAutoBitrate;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_autoAdjustStrategy_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int autoAdjustStrategy = [args[@"autoAdjustStrategy"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.autoAdjustStrategy = autoAdjustStrategy;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoBitrateMax_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoBitrateMax = [args[@"videoBitrateMax"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoBitrateMax = videoBitrateMax;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_videoBitrateMin_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int videoBitrateMin = [args[@"videoBitrateMin"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.videoBitrateMin = videoBitrateMin;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_audioSampleRate_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int audioSampleRate = [args[@"audioSampleRate"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.audioSampleRate = audioSampleRate;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_audioChannels_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int audioChannels = [args[@"audioChannels"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.audioChannels = audioChannels;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableAudioPreview_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableAudioPreview = [args[@"enableAudioPreview"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableAudioPreview = enableAudioPreview;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enablePureAudioPush_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enablePureAudioPush = [args[@"enablePureAudioPush"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enablePureAudioPush = enablePureAudioPush;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_connectRetryCount_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int connectRetryCount = [args[@"connectRetryCount"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.connectRetryCount = connectRetryCount;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_connectRetryInterval_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int connectRetryInterval = [args[@"connectRetryInterval"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.connectRetryInterval = connectRetryInterval;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_customModeType_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int customModeType = [args[@"customModeType"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.customModeType = customModeType;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_sampleBufferSize_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* sampleBufferSizeValue = (NSValue*) args[@"sampleBufferSize"];
|
||
|
CGSize sampleBufferSize;
|
||
|
[sampleBufferSizeValue getValue:&sampleBufferSize];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.sampleBufferSize = sampleBufferSize;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_autoSampleBufferSize_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL autoSampleBufferSize = [args[@"autoSampleBufferSize"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.autoSampleBufferSize = autoSampleBufferSize;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableNAS_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableNAS = [args[@"enableNAS"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableNAS = enableNAS;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableAEC_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableAEC = [args[@"enableAEC"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableAEC = enableAEC;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableHWAcceleration = [args[@"enableHWAcceleration"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableHWAcceleration = enableHWAcceleration;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableAudioAcceleration_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableAudioAcceleration = [args[@"enableAudioAcceleration"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableAudioAcceleration = enableAudioAcceleration;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableAGC_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableAGC = [args[@"enableAGC"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableAGC = enableAGC;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_volumeType_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXSystemAudioVolumeType volumeType = (TXSystemAudioVolumeType) [args[@"volumeType"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.volumeType = volumeType;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_frontCamera_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL frontCamera = [args[@"frontCamera"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.frontCamera = frontCamera;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_beautyFilterDepth_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
float beautyFilterDepth = [args[@"beautyFilterDepth"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.beautyFilterDepth = beautyFilterDepth;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_whiteningFilterDepth_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
float whiteningFilterDepth = [args[@"whiteningFilterDepth"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.whiteningFilterDepth = whiteningFilterDepth;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_enableNearestIP_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableNearestIP = [args[@"enableNearestIP"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.enableNearestIP = enableNearestIP;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_rtmpChannelType_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int rtmpChannelType = [args[@"rtmpChannelType"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.rtmpChannelType = rtmpChannelType;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePushConfig::set_metaData_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSDictionary* metaData = (NSDictionary*) args[@"metaData"];
|
||
|
|
||
|
// ref
|
||
|
TXLivePushConfig* ref = (TXLivePushConfig*) args[@"__this__"];
|
||
|
|
||
|
ref.metaData = metaData;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePlayer::set_enableHWAcceleration_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL enableHWAcceleration = [args[@"enableHWAcceleration"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
||
|
|
||
|
ref.enableHWAcceleration = enableHWAcceleration;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePlayer::set_config_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
TXLivePlayConfig* config = (TXLivePlayConfig*) args[@"config"];
|
||
|
|
||
|
// ref
|
||
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
||
|
|
||
|
ref.config = config;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXLivePlayer::set_isAutoPlay_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
BOOL isAutoPlay = [args[@"isAutoPlay"] boolValue];
|
||
|
|
||
|
// ref
|
||
|
TXLivePlayer* ref = (TXLivePlayer*) args[@"__this__"];
|
||
|
|
||
|
ref.isAutoPlay = isAutoPlay;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRecordResult::set_retCode_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXRecordResultCode retCode = (TXRecordResultCode) [args[@"retCode"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
||
|
|
||
|
ref.retCode = retCode;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRecordResult::set_descMsg_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* descMsg = (NSString*) args[@"descMsg"];
|
||
|
|
||
|
// ref
|
||
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
||
|
|
||
|
ref.descMsg = descMsg;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRecordResult::set_videoPath_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* videoPath = (NSString*) args[@"videoPath"];
|
||
|
|
||
|
// ref
|
||
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
||
|
|
||
|
ref.videoPath = videoPath;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRecordResult::set_coverImage_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* coverImage = (UIImage*) args[@"coverImage"];
|
||
|
|
||
|
// ref
|
||
|
TXRecordResult* ref = (TXRecordResult*) args[@"__this__"];
|
||
|
|
||
|
ref.coverImage = coverImage;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_coverImage_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* coverImage = (UIImage*) args[@"coverImage"];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.coverImage = coverImage;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_duration_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat duration = [args[@"duration"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.duration = duration;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_fileSize_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
unsigned long long fileSize = [args[@"fileSize"] unsignedLongLongValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.fileSize = fileSize;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_fps_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
float fps = [args[@"fps"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.fps = fps;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_bitrate_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int bitrate = [args[@"bitrate"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.bitrate = bitrate;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_audioSampleRate_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int audioSampleRate = [args[@"audioSampleRate"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.audioSampleRate = audioSampleRate;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_width_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int width = [args[@"width"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.width = width;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_height_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int height = [args[@"height"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.height = height;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXVideoInfo::set_angle_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int angle = [args[@"angle"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXVideoInfo* ref = (TXVideoInfo*) args[@"__this__"];
|
||
|
|
||
|
ref.angle = angle;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPreviewParam::set_videoView_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIView* videoView = (UIView*) args[@"videoView"];
|
||
|
|
||
|
// ref
|
||
|
TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"];
|
||
|
|
||
|
ref.videoView = videoView;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPreviewParam::set_renderMode_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXPreviewRenderMode renderMode = (TXPreviewRenderMode) [args[@"renderMode"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXPreviewParam* ref = (TXPreviewParam*) args[@"__this__"];
|
||
|
|
||
|
ref.renderMode = renderMode;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSubtitle::set_titleImage_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* titleImage = (UIImage*) args[@"titleImage"];
|
||
|
|
||
|
// ref
|
||
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
||
|
|
||
|
ref.titleImage = titleImage;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSubtitle::set_frame_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* frameValue = (NSValue*) args[@"frame"];
|
||
|
CGRect frame;
|
||
|
[frameValue getValue:&frame];
|
||
|
|
||
|
// ref
|
||
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
||
|
|
||
|
ref.frame = frame;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSubtitle::set_startTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat startTime = [args[@"startTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
||
|
|
||
|
ref.startTime = startTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSubtitle::set_endTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat endTime = [args[@"endTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXSubtitle* ref = (TXSubtitle*) args[@"__this__"];
|
||
|
|
||
|
ref.endTime = endTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPaster::set_pasterImage_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// ref arg
|
||
|
UIImage* pasterImage = (UIImage*) args[@"pasterImage"];
|
||
|
|
||
|
// ref
|
||
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.pasterImage = pasterImage;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPaster::set_frame_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* frameValue = (NSValue*) args[@"frame"];
|
||
|
CGRect frame;
|
||
|
[frameValue getValue:&frame];
|
||
|
|
||
|
// ref
|
||
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.frame = frame;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPaster::set_startTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat startTime = [args[@"startTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.startTime = startTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXPaster::set_endTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat endTime = [args[@"endTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXPaster* ref = (TXPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.endTime = endTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXAnimatedPaster::set_animatedPasterpath_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* animatedPasterpath = (NSString*) args[@"animatedPasterpath"];
|
||
|
|
||
|
// ref
|
||
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.animatedPasterpath = animatedPasterpath;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXAnimatedPaster::set_frame_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// struct arg
|
||
|
NSValue* frameValue = (NSValue*) args[@"frame"];
|
||
|
CGRect frame;
|
||
|
[frameValue getValue:&frame];
|
||
|
|
||
|
// ref
|
||
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.frame = frame;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXAnimatedPaster::set_rotateAngle_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat rotateAngle = [args[@"rotateAngle"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.rotateAngle = rotateAngle;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXAnimatedPaster::set_startTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat startTime = [args[@"startTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.startTime = startTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXAnimatedPaster::set_endTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat endTime = [args[@"endTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXAnimatedPaster* ref = (TXAnimatedPaster*) args[@"__this__"];
|
||
|
|
||
|
ref.endTime = endTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRepeat::set_startTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat startTime = [args[@"startTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
||
|
|
||
|
ref.startTime = startTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRepeat::set_endTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat endTime = [args[@"endTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
||
|
|
||
|
ref.endTime = endTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXRepeat::set_repeatTimes_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
int repeatTimes = [args[@"repeatTimes"] intValue];
|
||
|
|
||
|
// ref
|
||
|
TXRepeat* ref = (TXRepeat*) args[@"__this__"];
|
||
|
|
||
|
ref.repeatTimes = repeatTimes;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSpeed::set_startTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat startTime = [args[@"startTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
||
|
|
||
|
ref.startTime = startTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSpeed::set_endTime_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
CGFloat endTime = [args[@"endTime"] floatValue];
|
||
|
|
||
|
// ref
|
||
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
||
|
|
||
|
ref.endTime = endTime;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXSpeed::set_speedLevel_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXSpeedLevel speedLevel = (TXSpeedLevel) [args[@"speedLevel"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXSpeed* ref = (TXSpeed*) args[@"__this__"];
|
||
|
|
||
|
ref.speedLevel = speedLevel;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXGenerateResult::set_retCode_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXGenerateResultCode retCode = (TXGenerateResultCode) [args[@"retCode"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"];
|
||
|
|
||
|
ref.retCode = retCode;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXGenerateResult::set_descMsg_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* descMsg = (NSString*) args[@"descMsg"];
|
||
|
|
||
|
// ref
|
||
|
TXGenerateResult* ref = (TXGenerateResult*) args[@"__this__"];
|
||
|
|
||
|
ref.descMsg = descMsg;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXJoinerResult::set_retCode_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// enum arg
|
||
|
TXJoinerResultCode retCode = (TXJoinerResultCode) [args[@"retCode"] integerValue];
|
||
|
|
||
|
// ref
|
||
|
TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"];
|
||
|
|
||
|
ref.retCode = retCode;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"TXJoinerResult::set_descMsg_batch": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
for (int __i__ = 0; __i__ < ((NSArray<NSDictionary<NSString*, NSObject*>*>*) argsBatch).count; __i__++) {
|
||
|
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>*>*) argsBatch) objectAtIndex:__i__];
|
||
|
|
||
|
// args
|
||
|
// jsonable arg
|
||
|
NSString* descMsg = (NSString*) args[@"descMsg"];
|
||
|
|
||
|
// ref
|
||
|
TXJoinerResult* ref = (TXJoinerResult*) args[@"__this__"];
|
||
|
|
||
|
ref.descMsg = descMsg;
|
||
|
methodResult(@"success");
|
||
|
}
|
||
|
|
||
|
methodResult(@"success");
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXLivePush": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXLivePush class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXCAVRoom": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXCAVRoom class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXImageSprite": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXImageSprite class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXLiveBase": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXLiveBase class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXLivePlayConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXLivePlayConfig class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXCAVRoomConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXCAVRoomConfig class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXVideoInfoReader": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXVideoInfoReader class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXVideoEditer": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXVideoEditer class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXVideoJoiner": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXVideoJoiner class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXCAVRoomParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXCAVRoomParam class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXBitrateItem": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXBitrateItem class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXPlayerAuthParams": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXPlayerAuthParams class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXLivePushConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXLivePushConfig class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXBeautyManager": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXBeautyManager class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXLivePlayer": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXLivePlayer class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXRecordResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXRecordResult class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXVideoInfo": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXVideoInfo class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXPreviewParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXPreviewParam class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXSubtitle": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXSubtitle class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXPaster class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXAnimatedPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXAnimatedPaster class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXRepeat": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXRepeat class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXSpeed": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXSpeed class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXGenerateResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXGenerateResult class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"RefClass::isKindOfTXJoinerResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// 引用对象
|
||
|
NSObject* __this__ = ((NSDictionary<NSString*, NSObject*>*) args)[@"__this__"];
|
||
|
|
||
|
BOOL isTargetType = [__this__ isKindOfClass:[TXJoinerResult class]];
|
||
|
methodResult(@(isTargetType));
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXLivePush": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXLivePush");
|
||
|
}
|
||
|
|
||
|
TXLivePush* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXLivePush alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePush alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXImageSprite": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXImageSprite");
|
||
|
}
|
||
|
|
||
|
TXImageSprite* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXImageSprite alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXImageSprite alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXLiveBase": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXLiveBase");
|
||
|
}
|
||
|
|
||
|
TXLiveBase* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXLiveBase alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLiveBase alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXLivePlayConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXLivePlayConfig");
|
||
|
}
|
||
|
|
||
|
TXLivePlayConfig* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXLivePlayConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePlayConfig alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXCAVRoomConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXCAVRoomConfig");
|
||
|
}
|
||
|
|
||
|
TXCAVRoomConfig* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXCAVRoomConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXCAVRoomConfig alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXVideoInfoReader": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXVideoInfoReader");
|
||
|
}
|
||
|
|
||
|
TXVideoInfoReader* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXVideoInfoReader alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoInfoReader alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXVideoEditer": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXVideoEditer");
|
||
|
}
|
||
|
|
||
|
TXVideoEditer* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXVideoEditer alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoEditer alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXVideoJoiner": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXVideoJoiner");
|
||
|
}
|
||
|
|
||
|
TXVideoJoiner* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXVideoJoiner alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoJoiner alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXCAVRoomParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXCAVRoomParam");
|
||
|
}
|
||
|
|
||
|
TXCAVRoomParam* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXCAVRoomParam alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXCAVRoomParam alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXBitrateItem": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXBitrateItem");
|
||
|
}
|
||
|
|
||
|
TXBitrateItem* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXBitrateItem alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXBitrateItem alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXPlayerAuthParams": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXPlayerAuthParams");
|
||
|
}
|
||
|
|
||
|
TXPlayerAuthParams* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXPlayerAuthParams alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPlayerAuthParams alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXLivePushConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXLivePushConfig");
|
||
|
}
|
||
|
|
||
|
TXLivePushConfig* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXLivePushConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePushConfig alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXBeautyManager": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXBeautyManager");
|
||
|
}
|
||
|
|
||
|
TXBeautyManager* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXBeautyManager alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXBeautyManager alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXLivePlayer": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXLivePlayer");
|
||
|
}
|
||
|
|
||
|
TXLivePlayer* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXLivePlayer alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePlayer alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXRecordResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXRecordResult");
|
||
|
}
|
||
|
|
||
|
TXRecordResult* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXRecordResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXRecordResult alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXVideoInfo": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXVideoInfo");
|
||
|
}
|
||
|
|
||
|
TXVideoInfo* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXVideoInfo alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoInfo alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXPreviewParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXPreviewParam");
|
||
|
}
|
||
|
|
||
|
TXPreviewParam* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXPreviewParam alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPreviewParam alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXSubtitle": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXSubtitle");
|
||
|
}
|
||
|
|
||
|
TXSubtitle* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXSubtitle alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXSubtitle alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXPaster");
|
||
|
}
|
||
|
|
||
|
TXPaster* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXPaster alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPaster alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXAnimatedPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXAnimatedPaster");
|
||
|
}
|
||
|
|
||
|
TXAnimatedPaster* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXAnimatedPaster alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXAnimatedPaster alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXRepeat": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXRepeat");
|
||
|
}
|
||
|
|
||
|
TXRepeat* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXRepeat alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXRepeat alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXSpeed": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXSpeed");
|
||
|
}
|
||
|
|
||
|
TXSpeed* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXSpeed alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXSpeed alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXGenerateResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXGenerateResult");
|
||
|
}
|
||
|
|
||
|
TXGenerateResult* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXGenerateResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXGenerateResult alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::createTXJoinerResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id args, FlutterResult methodResult) {
|
||
|
// print log
|
||
|
if (enableLog) {
|
||
|
NSLog(@"ObjectFactory::createTXJoinerResult");
|
||
|
}
|
||
|
|
||
|
TXJoinerResult* __this__;
|
||
|
if ([((NSDictionary<NSString*, id>*) args)[@"init"] boolValue]) {
|
||
|
__this__ = [[TXJoinerResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXJoinerResult alloc];
|
||
|
}
|
||
|
|
||
|
methodResult(__this__);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXLivePush": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXLivePush* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXLivePush alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePush alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXImageSprite": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXImageSprite* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXImageSprite alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXImageSprite alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXLiveBase": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXLiveBase* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXLiveBase alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLiveBase alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXLivePlayConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXLivePlayConfig* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXLivePlayConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePlayConfig alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXCAVRoomConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXCAVRoomConfig* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXCAVRoomConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXCAVRoomConfig alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXVideoInfoReader": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXVideoInfoReader* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXVideoInfoReader alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoInfoReader alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXVideoEditer": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXVideoEditer* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXVideoEditer alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoEditer alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXVideoJoiner": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXVideoJoiner* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXVideoJoiner alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoJoiner alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXCAVRoomParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXCAVRoomParam* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXCAVRoomParam alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXCAVRoomParam alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXBitrateItem": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXBitrateItem* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXBitrateItem alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXBitrateItem alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXPlayerAuthParams": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXPlayerAuthParams* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXPlayerAuthParams alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPlayerAuthParams alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXLivePushConfig": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXLivePushConfig* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXLivePushConfig alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePushConfig alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXBeautyManager": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXBeautyManager* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXBeautyManager alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXBeautyManager alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXLivePlayer": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXLivePlayer* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXLivePlayer alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXLivePlayer alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXRecordResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXRecordResult* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXRecordResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXRecordResult alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXVideoInfo": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXVideoInfo* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXVideoInfo alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXVideoInfo alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXPreviewParam": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXPreviewParam* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXPreviewParam alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPreviewParam alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXSubtitle": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXSubtitle* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXSubtitle alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXSubtitle alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXPaster* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXPaster alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXPaster alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXAnimatedPaster": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXAnimatedPaster* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXAnimatedPaster alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXAnimatedPaster alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXRepeat": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXRepeat* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXRepeat alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXRepeat alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXSpeed": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXSpeed* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXSpeed alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXSpeed alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXGenerateResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXGenerateResult* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXGenerateResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXGenerateResult alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
@"ObjectFactory::create_batchTXJoinerResult": ^(NSObject <FlutterPluginRegistrar> * registrar, id argsBatch, FlutterResult methodResult) {
|
||
|
NSMutableArray<NSObject*>* resultList = [NSMutableArray array];
|
||
|
|
||
|
NSNumber* length = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"length"];
|
||
|
NSNumber* init = (NSNumber*) ((NSDictionary<NSString*, NSObject*>*) argsBatch)[@"init"];
|
||
|
for (int __i__ = 0; __i__ < [length integerValue]; __i__++) {
|
||
|
TXJoinerResult* __this__;
|
||
|
if ([init boolValue]) {
|
||
|
__this__ = [[TXJoinerResult alloc] init];
|
||
|
} else {
|
||
|
__this__ = [TXJoinerResult alloc];
|
||
|
}
|
||
|
[resultList addObject:__this__];
|
||
|
}
|
||
|
|
||
|
methodResult(resultList);
|
||
|
|
||
|
if (enableLog) NSLog(@"HEAP: %@", HEAP);
|
||
|
},
|
||
|
|
||
|
};
|
||
|
}
|
||
|
|
||
|
@end
|