Package io.flutter.plugin.common
Interface BinaryMessenger.BinaryReply
-
- Enclosing interface:
- BinaryMessenger
public static interface BinaryMessenger.BinaryReply
Binary message reply callback. Used to submit a reply to an incoming message from Flutter. Also used in the dual capacity to handle a reply received from Flutter after sending a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reply(ByteBuffer reply)
Handles the specified reply.
-
-
-
Method Detail
-
reply
void reply(@Nullable ByteBuffer reply)
Handles the specified reply.- Parameters:
reply
- the reply payload, a direct-allocatedByteBuffer
or null. Senders of outgoing replies must place the reply bytes between position zero and current position. Reply receivers can read from the buffer directly.
-
-