# 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.
  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 by `ActivityPluginBinding`.
  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 | 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 main `Activity`.
  PluginRegistry.UserLeaveHintListener | Delegate interface for handling user leave hints on behalf of the main `Activity`.
  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 | A `MessageCodec` using unencoded binary messages, represented as `ByteBuffer`s.
  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 Summary
  Exception | Description
  --- | ---
  FlutterException | Thrown to indicate that a Flutter method invocation failed on the Flutter side.