5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCHANNELS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCHANNELS_H_
53 + (instancetype)messageChannelWithName:(NSString*)name
70 + (instancetype)messageChannelWithName:(NSString*)name
88 - (instancetype)initWithName:(NSString*)name
108 - (instancetype)initWithName:(NSString*)name
119 - (void)sendMessage:(
id _Nullable)message;
128 - (void)sendMessage:(
id _Nullable)message reply:(
FlutterReply _Nullable)callback;
149 + (void)resizeChannelWithName:(NSString*)name
151 size:(NSInteger)newSize;
160 - (void)resizeChannelBuffer:(NSInteger)newSize;
171 + (void)setWarnsOnOverflow:(BOOL)warns
172 forChannelWithName:(NSString*)name
182 - (void)setWarnsOnOverflow:(BOOL)warns;
236 + (instancetype)methodChannelWithName:(NSString*)name
253 + (instancetype)methodChannelWithName:(NSString*)name
255 codec:(NSObject<FlutterMethodCodec>*)codec;
271 - (instancetype)initWithName:(NSString*)name
273 codec:(NSObject<FlutterMethodCodec>*)codec;
291 - (instancetype)initWithName:(NSString*)name
293 codec:(NSObject<FlutterMethodCodec>*)codec
308 - (void)invokeMethod:(NSString*)method arguments:(
id _Nullable)arguments;
323 - (void)invokeMethod:(NSString*)method
324 arguments:(
id _Nullable)arguments
341 - (void)resizeChannelBuffer:(NSInteger)newSize;
371 - (
FlutterError* _Nullable)onListenWithArguments:(
id _Nullable)arguments
387 - (
FlutterError* _Nullable)onCancelWithArguments:(
id _Nullable)arguments;
416 + (instancetype)eventChannelWithName:(NSString*)name
433 + (instancetype)eventChannelWithName:(NSString*)name
435 codec:(NSObject<FlutterMethodCodec>*)codec;
451 - (instancetype)initWithName:(NSString*)name
453 codec:(NSObject<FlutterMethodCodec>*)codec;
471 - (instancetype)initWithName:(NSString*)name
473 codec:(NSObject<FlutterMethodCodec>*)codec
487 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCHANNELS_H_