Class FlutterFragmentActivity

    • Constructor Detail

      • FlutterFragmentActivity

        public FlutterFragmentActivity()
        Deprecated.
    • Method Detail

      • createFlutterView

        public FlutterView createFlutterView​(Context context)
        Deprecated.
        Hook for subclasses to customize the creation of the FlutterView.

        The default implementation returns null, which will cause the activity to use a newly instantiated full-screen view.

        Specified by:
        createFlutterView in interface FlutterActivityDelegate.ViewFactory
      • hasPlugin

        public final boolean hasPlugin​(String key)
        Deprecated.
        Description copied from interface: PluginRegistry
        Returns whether the specified plugin is known to this registry.
        Specified by:
        hasPlugin in interface PluginRegistry
        Parameters:
        key - a unique String identifying the plugin; typically the fully qualified name of the plugin's main class.
        Returns:
        true if this registry has handed out a registrar for the specified plugin.
      • valuePublishedByPlugin

        public final <T> T valuePublishedByPlugin​(String pluginKey)
        Deprecated.
        Description copied from interface: PluginRegistry
        Returns the value published by the specified plugin, if any.

        Plugins may publish a single value, such as an instance of the plugin's main class, for situations where external control or interaction is needed. Clients are expected to know the value's type.

        Specified by:
        valuePublishedByPlugin in interface PluginRegistry
        Type Parameters:
        T - The type of the value.
        Parameters:
        pluginKey - a unique String identifying the plugin; typically the fully qualified name of the plugin's main class.
        Returns:
        the published value, possibly null.
      • onCreate

        protected void onCreate​(Bundle savedInstanceState)
        Deprecated.
        Overrides:
        onCreate in class androidx.fragment.app.FragmentActivity
      • onDestroy

        protected void onDestroy()
        Deprecated.
        Overrides:
        onDestroy in class androidx.fragment.app.FragmentActivity
      • onBackPressed

        public void onBackPressed()
        Deprecated.
        Overrides:
        onBackPressed in class androidx.activity.ComponentActivity
      • onStart

        protected void onStart()
        Deprecated.
        Overrides:
        onStart in class androidx.fragment.app.FragmentActivity
      • onStop

        protected void onStop()
        Deprecated.
        Overrides:
        onStop in class androidx.fragment.app.FragmentActivity
      • onPause

        protected void onPause()
        Deprecated.
        Overrides:
        onPause in class androidx.fragment.app.FragmentActivity
      • onPostResume

        protected void onPostResume()
        Deprecated.
        Overrides:
        onPostResume in class androidx.fragment.app.FragmentActivity
      • onRequestPermissionsResult

        public void onRequestPermissionsResult​(int requestCode,
                                               String[] permissions,
                                               int[] grantResults)
        Deprecated.
        Specified by:
        onRequestPermissionsResult in interface androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback
        Overrides:
        onRequestPermissionsResult in class androidx.fragment.app.FragmentActivity
      • onActivityResult

        protected void onActivityResult​(int requestCode,
                                        int resultCode,
                                        Intent data)
        Deprecated.
        Overrides:
        onActivityResult in class androidx.fragment.app.FragmentActivity
      • onNewIntent

        protected void onNewIntent​(Intent intent)
        Deprecated.
        Overrides:
        onNewIntent in class androidx.fragment.app.FragmentActivity
      • onLowMemory

        public void onLowMemory()
        Deprecated.
        Specified by:
        onLowMemory in interface ComponentCallbacks
        Overrides:
        onLowMemory in class androidx.fragment.app.FragmentActivity