Flutter ETS API Documentation v1.0.0
Class: IncomingSendableMethodCallHandler
Internal handler for incoming method calls from Flutter in background threads.
Implements
Constructors
Constructor
new IncomingSendableMethodCallHandler(
handler,codec):IncomingSendableMethodCallHandler
Constructs a new IncomingSendableMethodCallHandler instance.
Parameters
handler
The SendableMethodCallHandler to delegate to
codec
The SendableMethodCodec to use for encoding/decoding
Returns
IncomingSendableMethodCallHandler
Methods
onMessage()
onMessage(
message,reply, ...args):void
Handles a binary method call from Flutter.
Parameters
message
ArrayBuffer
The binary message containing the method call
reply
The BinaryReply callback to send a response
args
...Object[]
Additional arguments passed to the handler
Returns
void