| Interface | Description |
|---|---|
| ActivityLifecycleListener | |
| BasicMessageChannel.MessageHandler<T> |
A handler of incoming messages.
|
| BasicMessageChannel.Reply<T> |
Message reply callback.
|
| BinaryMessenger |
Facility for communicating with Flutter using asynchronous message passing with binary messages.
|
| BinaryMessenger.BinaryMessageHandler |
Handler for incoming binary messages from Flutter.
|
| BinaryMessenger.BinaryReply |
Binary message reply callback.
|
| EventChannel.EventSink |
Event callback.
|
| EventChannel.StreamHandler |
Handler of stream setup and tear-down requests.
|
| MessageCodec<T> |
A message encoding/decoding mechanism.
|
| MethodChannel.MethodCallHandler |
A handler of incoming method calls.
|
| MethodChannel.Result |
Method call result callback.
|
| MethodCodec |
A codec for method calls and enveloped results.
|
| PluginRegistry |
Registry used by plugins to set up interaction with Android APIs.
|
| PluginRegistry.ActivityResultListener |
Delegate interface for handling activity results on behalf of the main
Activity. |
| PluginRegistry.NewIntentListener |
Delegate interface for handling new intents on behalf of the main
Activity. |
| PluginRegistry.PluginRegistrantCallback |
Callback interface for registering plugins with a plugin registry.
|
| PluginRegistry.Registrar |
Receiver of registrations from a single plugin.
|
| PluginRegistry.RequestPermissionsResultListener |
Delegate interface for handling result of permissions requests on
behalf of the main
Activity. |
| PluginRegistry.UserLeaveHintListener |
Delegate interface for handling user leave hints on behalf of the main
Activity. |
| PluginRegistry.ViewDestroyListener |
Delegate interface for handling an
Activity's onDestroy
method being called. |
| Class | Description |
|---|---|
| BasicMessageChannel<T> |
A named channel for communicating with the Flutter application using basic, asynchronous message passing.
|
| BinaryCodec |
A
MessageCodec using unencoded binary messages, represented as
ByteBuffers. |
| ErrorLogResult |
An implementation of
MethodChannel.Result that writes error results
to the Android log. |
| EventChannel |
A named channel for communicating with the Flutter application using asynchronous
event streams.
|
| JSONMessageCodec |
A
MessageCodec using UTF-8 encoded JSON messages. |
| JSONMethodCodec |
A
MethodCodec using UTF-8 encoded JSON method calls and result envelopes. |
| JSONUtil | |
| MethodCall |
Command object representing a method call on a
MethodChannel. |
| MethodChannel |
A named channel for communicating with the Flutter application using asynchronous
method calls.
|
| StandardMessageCodec |
MessageCodec using the Flutter standard binary encoding.
|
| StandardMethodCodec |
A
MethodCodec using the Flutter standard binary encoding. |
| StringCodec |
A
MessageCodec using UTF-8 encoded String messages. |
| Exception | Description |
|---|---|
| FlutterException |
Thrown to indicate that a Flutter method invocation failed on the Flutter side.
|