Package io.flutter.embedding.engine.dart

## Interface PlatformMessageHandler

-     public interface PlatformMessageHandler

  Handler that receives messages from Dart code.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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 Detail

    - #### 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)