Flutter Engine
The Flutter Engine
|
Static Public Attributes | |
static final String | TEXT_VIEW_PV = "scenarios/textPlatformView" |
static final String | SURFACE_VIEW_PV = "scenarios/surfacePlatformV" |
static final String | SURFACE_VIEW_BAD_CONTEXT_PV = "scenarios/surfaceVBadCntxt" |
static final String | TEXTURE_VIEW_PV = "scenarios/texturePlatformV" |
Static Public Attributes inherited from io.flutter.embedding.android.FlutterActivity | |
static final int | FLUTTER_VIEW_ID = View.generateViewId() |
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) |
Protected Member Functions inherited from dev.flutter.scenarios.TestActivity | |
void | onCreate (@Nullable Bundle savedInstanceState) |
void | onDestroy () |
void | getScenarioParams (@NonNull Map< String, Object > args) |
void | testFlutterLoaderCallbackWhenInitializedTwice () |
Protected Member Functions inherited from dev.flutter.scenarios.TestableFlutterActivity | |
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 |
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 10 of file PlatformViewsActivity.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 dev.flutter.scenarios.TestableFlutterActivity.
Definition at line 20 of file PlatformViewsActivity.java.
|
static |
Definition at line 16 of file PlatformViewsActivity.java.
|
static |
Definition at line 15 of file PlatformViewsActivity.java.
|
static |
Definition at line 14 of file PlatformViewsActivity.java.
|
static |
Definition at line 17 of file PlatformViewsActivity.java.