Package io.flutter.embedding.engine.dart

# Interface PlatformMessageHandler

public interface PlatformMessageHandler
Handler that receives messages from Dart code.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `handleMessageFromDart(String channel, ByteBuffer message, int replyId, long messageData)`
  Called from any thread.
  `void`
  `handlePlatformMessageResponse(int replyId, ByteBuffer reply)`

- ## Method Details

  - ### handleMessageFromDart

    void handleMessageFromDart(@NonNull String channel, @Nullable ByteBuffer message, int replyId, long messageData)
    Called from any thread.

  - ### handlePlatformMessageResponse

    void handlePlatformMessageResponse(int replyId, @Nullable ByteBuffer reply)