public static enum SettingsChannel.PlatformBrightness extends Enum<SettingsChannel.PlatformBrightness>
The name
property is the serialized representation of each brightness mode when
communicated via message channel.
Modifier and Type | Method and Description |
---|---|
static SettingsChannel.PlatformBrightness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SettingsChannel.PlatformBrightness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettingsChannel.PlatformBrightness light
public static final SettingsChannel.PlatformBrightness dark
@NonNull public String name
public static SettingsChannel.PlatformBrightness[] values()
for (SettingsChannel.PlatformBrightness c : SettingsChannel.PlatformBrightness.values()) System.out.println(c);
public static SettingsChannel.PlatformBrightness valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null