Deprecated base class for activities that use Flutter.
- Deprecated:
io.flutter.embedding.android.FlutterActivity
is the new API that now replaces this class. See https://flutter.dev/go/android-project-migration for more migration details.
Definition at line 25 of file FlutterActivity.java.
◆ createFlutterNativeView()
◆ createFlutterView()
◆ getFlutterView()
FlutterView io.flutter.app.FlutterActivity.getFlutterView |
( |
| ) |
|
|
inline |
◆ hasPlugin()
final boolean io.flutter.app.FlutterActivity.hasPlugin |
( |
String |
key | ) |
|
|
inline |
◆ onActivityResult()
void io.flutter.app.FlutterActivity.onActivityResult |
( |
int |
requestCode, |
|
|
int |
resultCode, |
|
|
Intent |
data |
|
) |
| |
|
inlineprotected |
Definition at line 144 of file FlutterActivity.java.
144 {
146 super.onActivityResult(requestCode, resultCode,
data);
147 }
148 }
boolean onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
std::shared_ptr< const fml::Mapping > data
◆ onBackPressed()
void io.flutter.app.FlutterActivity.onBackPressed |
( |
| ) |
|
|
inline |
◆ onConfigurationChanged()
void io.flutter.app.FlutterActivity.onConfigurationChanged |
( |
Configuration |
newConfig | ) |
|
|
inline |
Definition at line 177 of file FlutterActivity.java.
177 {
178 super.onConfigurationChanged(newConfig);
179 eventDelegate.onConfigurationChanged(newConfig);
180 }
◆ onCreate()
void io.flutter.app.FlutterActivity.onCreate |
( |
Bundle |
savedInstanceState | ) |
|
|
inlineprotected |
Definition at line 89 of file FlutterActivity.java.
89 {
90 super.onCreate(savedInstanceState);
91 eventDelegate.
onCreate(savedInstanceState);
92 }
void onCreate(Bundle savedInstanceState)
◆ onDestroy()
void io.flutter.app.FlutterActivity.onDestroy |
( |
| ) |
|
|
inlineprotected |
◆ onLowMemory()
void io.flutter.app.FlutterActivity.onLowMemory |
( |
| ) |
|
|
inline |
◆ onNewIntent()
void io.flutter.app.FlutterActivity.onNewIntent |
( |
Intent |
intent | ) |
|
|
inlineprotected |
◆ onPause()
void io.flutter.app.FlutterActivity.onPause |
( |
| ) |
|
|
inlineprotected |
◆ onPostResume()
void io.flutter.app.FlutterActivity.onPostResume |
( |
| ) |
|
|
inlineprotected |
◆ onRequestPermissionsResult()
void io.flutter.app.FlutterActivity.onRequestPermissionsResult |
( |
int |
requestCode, |
|
|
@NonNull String[] |
permissions, |
|
|
@NonNull int[] |
grantResults |
|
) |
| |
|
inline |
Definition at line 138 of file FlutterActivity.java.
139 {
141 }
boolean onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
◆ onResume()
void io.flutter.app.FlutterActivity.onResume |
( |
| ) |
|
|
inlineprotected |
◆ onStart()
void io.flutter.app.FlutterActivity.onStart |
( |
| ) |
|
|
inlineprotected |
◆ onStop()
void io.flutter.app.FlutterActivity.onStop |
( |
| ) |
|
|
inlineprotected |
◆ onTrimMemory()
void io.flutter.app.FlutterActivity.onTrimMemory |
( |
int |
level | ) |
|
|
inline |
◆ onUserLeaveHint()
void io.flutter.app.FlutterActivity.onUserLeaveHint |
( |
| ) |
|
|
inline |
◆ onWindowFocusChanged()
void io.flutter.app.FlutterActivity.onWindowFocusChanged |
( |
boolean |
hasFocus | ) |
|
|
inline |
Definition at line 161 of file FlutterActivity.java.
161 {
162 super.onWindowFocusChanged(hasFocus);
164 }
void onWindowFocusChanged(boolean hasFocus)
◆ registrarFor()
final Registrar io.flutter.app.FlutterActivity.registrarFor |
( |
String |
pluginKey | ) |
|
|
inline |
Definition at line 84 of file FlutterActivity.java.
84 {
86 }
Registrar registrarFor(@NonNull String pluginKey)
◆ retainFlutterNativeView()
boolean io.flutter.app.FlutterActivity.retainFlutterNativeView |
( |
| ) |
|
|
inline |
◆ valuePublishedByPlugin()
final< T > T io.flutter.app.FlutterActivity.valuePublishedByPlugin |
( |
String |
pluginKey | ) |
|
|
inline |
Definition at line 79 of file FlutterActivity.java.
79 {
81 }
< T > T valuePublishedByPlugin(@NonNull String pluginKey)
The documentation for this class was generated from the following file: