首页页面搭建完成
This commit is contained in:
@@ -31,8 +31,6 @@ typedef void (^FlutterBinaryMessageHandler)(NSData* _Nullable message, FlutterBi
|
||||
|
||||
typedef int64_t FlutterBinaryMessengerConnection;
|
||||
|
||||
@protocol FlutterTaskQueue;
|
||||
|
||||
/**
|
||||
* A facility for communicating with the Flutter side using asynchronous message
|
||||
* passing with binary messages.
|
||||
@@ -46,16 +44,6 @@ typedef int64_t FlutterBinaryMessengerConnection;
|
||||
*/
|
||||
FLUTTER_DARWIN_EXPORT
|
||||
@protocol FlutterBinaryMessenger <NSObject>
|
||||
/// TODO(gaaclarke): Remove optional when macos supports Background Platform Channels.
|
||||
@optional
|
||||
- (NSObject<FlutterTaskQueue>*)makeBackgroundTaskQueue;
|
||||
|
||||
- (FlutterBinaryMessengerConnection)
|
||||
setMessageHandlerOnChannel:(NSString*)channel
|
||||
binaryMessageHandler:(FlutterBinaryMessageHandler _Nullable)handler
|
||||
taskQueue:(NSObject<FlutterTaskQueue>* _Nullable)taskQueue;
|
||||
|
||||
@required
|
||||
/**
|
||||
* Sends a binary message to the Flutter side on the specified channel, expecting
|
||||
* no reply.
|
||||
|
||||
Reference in New Issue
Block a user