Package io.flutter.plugin.common
-
Interface Summary 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.BinaryMessenger.TaskQueue An abstraction over the threading policy used to invoke message handlers.EventChannel.EventSink Event callback.EventChannel.StreamHandler Handler of stream setup and teardown 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 Container class for Android API listeners used byActivityPluginBinding
.PluginRegistry.ActivityResultListener Delegate interface for handling activity results on behalf of the mainActivity
.PluginRegistry.NewIntentListener Delegate interface for handling new intents on behalf of the mainActivity
.PluginRegistry.PluginRegistrantCallback Deprecated. See https://flutter.dev/go/android-project-migration for migration details.PluginRegistry.Registrar Deprecated. This registrar is for Flutter's v1 embedding.PluginRegistry.RequestPermissionsResultListener Delegate interface for handling result of permissions requests on behalf of the mainActivity
.PluginRegistry.UserLeaveHintListener Delegate interface for handling user leave hints on behalf of the mainActivity
.PluginRegistry.ViewDestroyListener Deprecated. See https://flutter.dev/go/android-project-migration for migration details. -
Class Summary Class Description BasicMessageChannel<T> A named channel for communicating with the Flutter application using basic, asynchronous message passing.BinaryCodec AMessageCodec
using unencoded binary messages, represented asByteBuffer
s.BinaryMessenger.TaskQueueOptions Options that control how a TaskQueue should operate and be created.ErrorLogResult An implementation ofMethodChannel.Result
that writes error results to the Android log.EventChannel A named channel for communicating with the Flutter application using asynchronous event streams.JSONMessageCodec AMessageCodec
using UTF-8 encoded JSON messages.JSONMethodCodec AMethodCodec
using UTF-8 encoded JSON method calls and result envelopes.JSONUtil MethodCall Command object representing a method call on aMethodChannel
.MethodChannel A named channel for communicating with the Flutter application using asynchronous method calls.StandardMessageCodec MessageCodec using the Flutter standard binary encoding.StandardMethodCodec AMethodCodec
using the Flutter standard binary encoding.StringCodec AMessageCodec
using UTF-8 encoded String messages. -
Exception Summary Exception Description FlutterException Thrown to indicate that a Flutter method invocation failed on the Flutter side.