Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FlutterEngine | provideFlutterEngine (@NonNull Context context) |
Public Member Functions inherited from io.flutter.embedding.android.FlutterFragmentActivity | |
void | onPostResume () |
void | onRequestPermissionsResult (int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) |
void | onUserLeaveHint () |
void | onTrimMemory (int level) |
boolean | shouldDestroyEngineWithHost () |
FlutterEngine | provideFlutterEngine (@NonNull Context context) |
void | configureFlutterEngine (@NonNull FlutterEngine flutterEngine) |
void | cleanUpFlutterEngine (@NonNull FlutterEngine flutterEngine) |
String | getDartEntrypointFunctionName () |
List< String > | getDartEntrypointArgs () |
String | getDartEntrypointLibraryUri () |
FlutterEngine | provideFlutterEngine (@NonNull Context context) |
void | configureFlutterEngine (@NonNull FlutterEngine flutterEngine) |
void | cleanUpFlutterEngine (@NonNull FlutterEngine flutterEngine) |
Protected Member Functions | |
FlutterFragment | createFlutterFragment () |
Protected Member Functions inherited from io.flutter.embedding.android.FlutterFragmentActivity | |
void | onCreate (@Nullable Bundle savedInstanceState) |
FlutterFragment | createFlutterFragment () |
void | onNewIntent (@NonNull Intent intent) |
void | onActivityResult (int requestCode, int resultCode, Intent data) |
FlutterEngine | getFlutterEngine () |
boolean | shouldAttachEngineToActivity () |
boolean | shouldHandleDeeplinking () |
String | getAppBundlePath () |
Bundle | getMetaData () throws PackageManager.NameNotFoundException |
String | getInitialRoute () |
String | getCachedEngineId () |
String | getCachedEngineGroupId () |
BackgroundMode | getBackgroundMode () |
RenderMode | getRenderMode () |
FrameLayout | provideRootLayout (Context context) |
Package Attributes | |
int | numberOfEnginesCreated = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from io.flutter.embedding.android.FlutterFragmentActivity | |
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.FlutterFragmentActivity | |
static final int | FRAGMENT_CONTAINER_ID = View.generateViewId() |
Package Functions inherited from io.flutter.embedding.android.FlutterFragmentActivity | |
FlutterFragment | retrieveExistingFlutterFragmentIfPossible () |
Definition at line 253 of file FlutterFragmentActivityTest.java.
|
inlineprotected |
Creates the instance of the FlutterFragment
that this FlutterFragmentActivity
displays.
Subclasses may override this method to return a specialization of FlutterFragment
.
Reimplemented from io.flutter.embedding.android.FlutterFragmentActivity.
Definition at line 257 of file FlutterFragmentActivityTest.java.
|
inline |
Hook for subclasses to easily provide a custom FlutterEngine
.
Reimplemented from io.flutter.embedding.android.FlutterFragmentActivity.
Definition at line 263 of file FlutterFragmentActivityTest.java.
|
package |
Definition at line 254 of file FlutterFragmentActivityTest.java.