Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.embedding.android.ExclusiveAppComponent< T > Interface Template Reference

Public Member Functions

void detachFromFlutterEngine ()
 
T getAppComponent ()
 

Detailed Description

An Android App Component exclusively attached to a io.flutter.embedding.engine.FlutterEngine.

An exclusive App Component's detachFromFlutterEngine is invoked when another App Component is becoming attached to the io.flutter.embedding.engine.FlutterEngine.

The term "App Component" refer to the 4 component types: Activity, Service, Broadcast Receiver, and Content Provider, as defined in https://developer.android.com/guide/components/fundamentals.

Parameters
<T>The App Component behind this exclusive App Component.

Definition at line 22 of file ExclusiveAppComponent.java.

Member Function Documentation

◆ detachFromFlutterEngine()

void io.flutter.embedding.android.ExclusiveAppComponent< T >.detachFromFlutterEngine ( )

Called when another App Component is about to become attached to the io.flutter.embedding.engine.FlutterEngine this App Component is currently attached to.

This App Component's connections to the io.flutter.embedding.engine.FlutterEngine are still valid at the moment of this call.

◆ getAppComponent()

Retrieve the App Component behind this exclusive App Component.

Returns
The app component.

The documentation for this interface was generated from the following file: