Flutter Engine
The Flutter Engine
|
Protected Member Functions | |
void | onCreate (@Nullable Bundle savedInstanceState) |
void | notifyFlutterRendered () |
Protected Member Functions inherited from io.flutter.embedding.android.FlutterActivity | |
void | onCreate (@Nullable Bundle savedInstanceState) |
OnBackInvokedCallback | getOnBackInvokedCallback () |
void | onStart () |
void | onResume () |
void | onPause () |
void | onStop () |
void | onSaveInstanceState (Bundle outState) |
void | onDestroy () |
void | onActivityResult (int requestCode, int resultCode, Intent data) |
void | onNewIntent (@NonNull Intent intent) |
BackgroundMode | getBackgroundMode () |
FlutterEngine | getFlutterEngine () |
Bundle | getMetaData () throws PackageManager.NameNotFoundException |
Additional Inherited Members | |
Static Public Member Functions inherited from io.flutter.embedding.android.FlutterActivity | |
static Intent | createDefaultIntent (@NonNull Context launchContext) |
static NewEngineIntentBuilder | withNewEngine () |
static CachedEngineIntentBuilder | withCachedEngine (@NonNull String cachedEngineId) |
static NewEngineInGroupIntentBuilder | withNewEngineInGroup (@NonNull String engineGroupId) |
Static Public Attributes inherited from io.flutter.embedding.android.FlutterActivity | |
static final int | FLUTTER_VIEW_ID = View.generateViewId() |
Protected Attributes inherited from io.flutter.embedding.android.FlutterActivity | |
FlutterActivityAndFragmentDelegate | delegate |
Package Functions inherited from io.flutter.embedding.android.FlutterActivity | |
void | setDelegate (@NonNull FlutterActivityAndFragmentDelegate delegate) |
Definition at line 15 of file TestableFlutterActivity.java.
|
inline |
Hook for subclasses to easily configure a FlutterEngine
.
This method is called after provideFlutterEngine(Context)
.
All plugins listed in the app's pubspec are registered in the base implementation of this method unless the FlutterEngine for this activity was externally created. To avoid the automatic plugin registration for implicitly created FlutterEngines, override this method without invoking super(). To keep automatic plugin registration and further configure the FlutterEngine, override this method, invoke super(), and then configure the FlutterEngine as desired.
Reimplemented from io.flutter.embedding.android.FlutterActivity.
Reimplemented in dev.flutter.scenarios.PlatformViewsActivity.
Definition at line 19 of file TestableFlutterActivity.java.
|
inlineprotected |
Reimplemented in dev.flutter.scenarios.GetBitmapActivity.
Definition at line 41 of file TestableFlutterActivity.java.
|
inlineprotected |
Reimplemented from io.flutter.embedding.android.FlutterActivity.
Reimplemented in dev.flutter.scenarios.ExternalTextureFlutterActivity, and dev.flutter.scenarios.TestActivity.
Definition at line 28 of file TestableFlutterActivity.java.
|
inline |
Reimplemented in dev.flutter.scenarios.ExternalTextureFlutterActivity.
Definition at line 45 of file TestableFlutterActivity.java.