Flutter Engine
The Flutter Engine
|
Public Member Functions | |
void | detachFromFlutterEngine () |
T | getAppComponent () |
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.
<T> | The App Component behind this exclusive App Component. |
Definition at line 22 of file ExclusiveAppComponent.java.
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.
T io.flutter.embedding.android.ExclusiveAppComponent< T >.getAppComponent | ( | ) |
Retrieve the App Component behind this exclusive App Component.