public class PlatformPlugin extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PlatformPlugin.PlatformPluginDelegate
The
PlatformPlugin generally has default behaviors implemented for platform
functionalities requested by the Flutter framework. |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SYSTEM_UI |
Constructor and Description |
---|
PlatformPlugin(Activity activity,
PlatformChannel platformChannel) |
PlatformPlugin(Activity activity,
PlatformChannel platformChannel,
PlatformPlugin.PlatformPluginDelegate delegate) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Releases all resources held by this
PlatformPlugin . |
void |
updateSystemUiOverlays()
Refreshes Android's window system UI (AKA system chrome) to match Flutter's desired
PlatformChannel.SystemChromeStyle . |
public static final int DEFAULT_SYSTEM_UI
public PlatformPlugin(Activity activity, PlatformChannel platformChannel)
public PlatformPlugin(Activity activity, PlatformChannel platformChannel, PlatformPlugin.PlatformPluginDelegate delegate)