2020-02-27 17:21:45 +08:00
|
|
|
#import <Flutter/Flutter.h>
|
|
|
|
|
|
|
|
@interface MopEventStream : NSObject <FlutterStreamHandler>
|
|
|
|
- (void)send:(NSString *)channel event:(NSString *)event body:(id)body;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface MopPlugin : NSObject <FlutterPlugin>
|
|
|
|
@property MopEventStream *mopEventStreamHandler;
|
2020-04-26 14:57:08 +08:00
|
|
|
@property FlutterMethodChannel *methodChannel;
|
2020-12-12 15:53:11 +08:00
|
|
|
@property FlutterMethodChannel *shareMethodChannel;
|
2023-02-09 11:03:50 +08:00
|
|
|
@property FlutterMethodChannel *shareAppletMethodChannel;
|
2021-12-31 18:28:14 +08:00
|
|
|
@property FlutterMethodChannel *appletMethodChannel;
|
2020-02-27 17:21:45 +08:00
|
|
|
|
2020-04-26 14:57:08 +08:00
|
|
|
+ (instancetype) instance;
|
2020-02-27 17:21:45 +08:00
|
|
|
@end
|