Package io.flutter.embedding.android
Enum FlutterActivityLaunchConfigs.BackgroundMode
- java.lang.Object
-
- java.lang.Enum<FlutterActivityLaunchConfigs.BackgroundMode>
-
- io.flutter.embedding.android.FlutterActivityLaunchConfigs.BackgroundMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FlutterActivityLaunchConfigs.BackgroundMode>
- Enclosing class:
- FlutterActivityLaunchConfigs
public static enum FlutterActivityLaunchConfigs.BackgroundMode extends Enum<FlutterActivityLaunchConfigs.BackgroundMode>
The mode of the background of a FlutterActivity
, either opaque or transparent.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description opaque
Indicates a FlutterActivity with an opaque background.transparent
Indicates a FlutterActivity with a transparent background.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlutterActivityLaunchConfigs.BackgroundMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlutterActivityLaunchConfigs.BackgroundMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
opaque
public static final FlutterActivityLaunchConfigs.BackgroundMode opaque
Indicates a FlutterActivity with an opaque background. This is the default.
-
transparent
public static final FlutterActivityLaunchConfigs.BackgroundMode transparent
Indicates a FlutterActivity with a transparent background.
-
-
Method Detail
-
values
public static FlutterActivityLaunchConfigs.BackgroundMode[] 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 (FlutterActivityLaunchConfigs.BackgroundMode c : FlutterActivityLaunchConfigs.BackgroundMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlutterActivityLaunchConfigs.BackgroundMode 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
-
-