Go to the source code of this file.
◆ FlutterEventSink
| typedef void(^ FlutterEventSink) (id _Nullable event) |
◆ FlutterMessageHandler
| typedef void(^ FlutterMessageHandler) (id _Nullable message, FlutterReply callback) |
A strategy for handling incoming messages from Flutter and to send asynchronous replies back to Flutter.
- Parameters
-
| message | The message. |
| callback | A callback for submitting a reply to the sender which can be invoked from any thread. |
Definition at line 30 of file FlutterChannels.h.
◆ FlutterMethodCallHandler
A strategy for handling method calls.
- Parameters
-
| call | The incoming method call. |
| result | A callback to asynchronously submit the result of the call. Invoke the callback with a FlutterError to indicate that the call failed. Invoke the callback with FlutterMethodNotImplemented to indicate that the method was unknown. Any other values, including nil, are interpreted as successful results. This can be invoked from any thread. |
Definition at line 206 of file FlutterChannels.h.
◆ FlutterResult
| typedef void(^ FlutterResult) (id _Nullable result) |
A method call result callback.
Used for submitting a method call result back to a Flutter caller. Also used in the dual capacity for handling a method call result received from Flutter.
- Parameters
-
Definition at line 194 of file FlutterChannels.h.
◆ FlutterEndOfEventStream
◆ FlutterMethodNotImplemented
A constant used with FlutterMethodCallHandler to respond to the call of an unknown method.
◆ FlutterReply
A message reply callback.
Used for submitting a reply back to a Flutter message sender. Also used in the dual capacity for handling a message reply received from Flutter.
- Parameters
-