Class PlatformPlugin

java.lang.Object
io.flutter.plugin.platform.PlatformPlugin

public class PlatformPlugin extends Object
Android implementation of the platform plugin.
  • Field Details

  • Constructor Details

  • Method Details

    • destroy

      public void destroy()
      Releases all resources held by this PlatformPlugin.

      Do not invoke any methods on a PlatformPlugin after invoking this method.

    • updateSystemUiOverlays

      public void updateSystemUiOverlays()
      Refreshes Android's window system UI (AKA system chrome) to match Flutter's desired PlatformChannel.SystemChromeStyle.

      Updating the system UI Overlays is accomplished by altering the decor view of the Window associated with the Activity that was provided to this PlatformPlugin.