Interface FlutterView.FlutterEngineAttachmentListener

Enclosing class:
FlutterView

@VisibleForTesting public static interface FlutterView.FlutterEngineAttachmentListener
Listener that is notified when a FlutterEngine is attached to/detached from a given FlutterView.
  • Method Details

    • onFlutterEngineAttachedToFlutterView

      void onFlutterEngineAttachedToFlutterView(@NonNull FlutterEngine engine)
      The given engine has been attached to the associated FlutterView.
    • onFlutterEngineDetachedFromFlutterView

      void onFlutterEngineDetachedFromFlutterView()
      A previously attached FlutterEngine has been detached from the associated FlutterView.