Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.embedding.engine.dart.PlatformMessageHandler Interface Reference
Inheritance diagram for io.flutter.embedding.engine.dart.PlatformMessageHandler:
io.flutter.embedding.engine.dart.DartMessenger

Public Member Functions

void handleMessageFromDart ( @NonNull final String channel, @Nullable ByteBuffer message, final int replyId, long messageData)
 
void handlePlatformMessageResponse (int replyId, @Nullable ByteBuffer reply)
 

Detailed Description

Handler that receives messages from Dart code.

Definition at line 12 of file PlatformMessageHandler.java.

Member Function Documentation

◆ handleMessageFromDart()

void io.flutter.embedding.engine.dart.PlatformMessageHandler.handleMessageFromDart ( @NonNull final String  channel,
@Nullable ByteBuffer  message,
final int  replyId,
long  messageData 
)

Called from any thread.

Implemented in io.flutter.embedding.engine.dart.DartMessenger.

◆ handlePlatformMessageResponse()

void io.flutter.embedding.engine.dart.PlatformMessageHandler.handlePlatformMessageResponse ( int  replyId,
@Nullable ByteBuffer  reply 
)

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