Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay Enum Reference

Public Member Functions

 SystemUiOverlay (@NonNull String encodedName)
 

Static Public Member Functions

static SystemUiOverlay fromValue (@NonNull String encodedName) throws NoSuchFieldException
 

Public Attributes

 TOP_OVERLAYS =("SystemUiOverlay.top")
 
 BOTTOM_OVERLAYS =("SystemUiOverlay.bottom")
 

Detailed Description

The set of Android system UI overlays as perceived by the Flutter application.

Android includes many more overlay options and flags than what is provided by
SystemUiOverlay
. Flutter only requires control over a subset of the overlays and those overlays are represented by SystemUiOverlay values.

Definition at line 645 of file PlatformChannel.java.

Constructor & Destructor Documentation

◆ SystemUiOverlay()

io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay.SystemUiOverlay ( @NonNull String  encodedName)
inline

Definition at line 661 of file PlatformChannel.java.

661 {
662 this.encodedName = encodedName;
663 }

Member Function Documentation

◆ fromValue()

static SystemUiOverlay io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay.fromValue ( @NonNull String  encodedName) throws NoSuchFieldException
inlinestatic

Definition at line 650 of file PlatformChannel.java.

650 {
651 for (SystemUiOverlay overlay : SystemUiOverlay.values()) {
652 if (overlay.encodedName.equals(encodedName)) {
653 return overlay;
654 }
655 }
656 throw new NoSuchFieldException("No such SystemUiOverlay: " + encodedName);
657 }

Member Data Documentation

◆ BOTTOM_OVERLAYS

io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay.BOTTOM_OVERLAYS =("SystemUiOverlay.bottom")

Definition at line 647 of file PlatformChannel.java.

◆ TOP_OVERLAYS

io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay.TOP_OVERLAYS =("SystemUiOverlay.top")

Definition at line 646 of file PlatformChannel.java.


The documentation for this enum was generated from the following file: