Enum PlatformChannel.SystemUiOverlay
- java.lang.Object
-
- java.lang.Enum<PlatformChannel.SystemUiOverlay>
-
- io.flutter.embedding.engine.systemchannels.PlatformChannel.SystemUiOverlay
-
- All Implemented Interfaces:
Serializable
,Comparable<PlatformChannel.SystemUiOverlay>
- Enclosing class:
- PlatformChannel
public static enum PlatformChannel.SystemUiOverlay extends Enum<PlatformChannel.SystemUiOverlay>
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 bySystemUiOverlay
values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_OVERLAYS
TOP_OVERLAYS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlatformChannel.SystemUiOverlay
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlatformChannel.SystemUiOverlay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_OVERLAYS
public static final PlatformChannel.SystemUiOverlay TOP_OVERLAYS
-
BOTTOM_OVERLAYS
public static final PlatformChannel.SystemUiOverlay BOTTOM_OVERLAYS
-
-
Method Detail
-
values
public static PlatformChannel.SystemUiOverlay[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlatformChannel.SystemUiOverlay c : PlatformChannel.SystemUiOverlay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlatformChannel.SystemUiOverlay valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-