Flutter Engine
The Flutter Engine
shell
platform
android
io
flutter
embedding
engine
dart
PlatformMessageHandler.java
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
package
io.flutter.embedding.engine.dart;
6
7
import
androidx.annotation.NonNull;
8
import
androidx.annotation.Nullable;
9
import
java.nio.ByteBuffer;
10
11
/** Handler that receives messages from Dart code. */
12
public
interface
PlatformMessageHandler
{
13
/** Called from any thread. */
14
void
handleMessageFromDart
(
15
@NonNull
final
String channel,
16
@Nullable ByteBuffer
message
,
17
final
int
replyId,
18
long
messageData);
19
20
void
handlePlatformMessageResponse
(
int
replyId, @Nullable ByteBuffer reply);
21
}
io.flutter.embedding.engine.dart.PlatformMessageHandler
Definition:
PlatformMessageHandler.java:12
io.flutter.embedding.engine.dart.PlatformMessageHandler.handleMessageFromDart
void handleMessageFromDart( @NonNull final String channel, @Nullable ByteBuffer message, final int replyId, long messageData)
io.flutter.embedding.engine.dart.PlatformMessageHandler.handlePlatformMessageResponse
void handlePlatformMessageResponse(int replyId, @Nullable ByteBuffer reply)
message
Win32Message message
Definition:
keyboard_unittests.cc:139
Generated on Sun Jun 23 2024 21:55:09 for Flutter Engine by
1.9.4