Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.plugin.common.BinaryMessenger.BinaryReply Interface Reference

Public Member Functions

void reply (@Nullable ByteBuffer reply)
 

Detailed Description

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.

Definition at line 195 of file BinaryMessenger.java.

Member Function Documentation

◆ reply()

void io.flutter.plugin.common.BinaryMessenger.BinaryReply.reply ( @Nullable ByteBuffer  reply)

Handles the specified reply.

Parameters
replythe reply payload, a direct-allocated ByteBuffer 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.

The documentation for this interface was generated from the following file: