mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
25 lines
579 B
Objective-C
25 lines
579 B
Objective-C
#import <Flutter/Flutter.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface GopeedTaskEventForwarder : NSObject
|
|
|
|
- (instancetype)initWithChannel:(FlutterMethodChannel *)channel NS_DESIGNATED_INITIALIZER;
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
FOUNDATION_EXPORT void GopeedSubscribeTaskEventsWithForwarder(
|
|
int64_t mask,
|
|
GopeedTaskEventForwarder * _Nullable listener);
|
|
|
|
FOUNDATION_EXPORT void GopeedInvokeAsyncWithResult(
|
|
NSString *method,
|
|
NSString *path,
|
|
NSString *query,
|
|
NSString *body,
|
|
int64_t requestID,
|
|
FlutterResult result);
|
|
|
|
NS_ASSUME_NONNULL_END
|