public enum LiveSetting extends java.lang.Enum<LiveSetting> implements INativeEnum
Enum Constant and Description |
---|
Assertive
no doc @ microsoft
|
Off
no doc @ microsoft
|
Polite
no doc @ microsoft
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<LiveSetting> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static LiveSetting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiveSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveSetting Off
public static final LiveSetting Polite
public static final LiveSetting Assertive
public static LiveSetting[] values()
for (LiveSetting c : LiveSetting.values()) System.out.println(c);
public static LiveSetting valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<LiveSetting> fromNativeValue(int nativeValue)