public static enum Config.DeviceIdStrategy extends java.lang.Enum<Config.DeviceIdStrategy>
| Modifier and Type | Method and Description |
|---|---|
static Config.DeviceIdStrategy |
fromIndex(int index) |
int |
getIndex() |
static Config.DeviceIdStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Config.DeviceIdStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.DeviceIdStrategy UUID
public static final Config.DeviceIdStrategy CUSTOM_ID
public static Config.DeviceIdStrategy[] values()
for (Config.DeviceIdStrategy c : Config.DeviceIdStrategy.values()) System.out.println(c);
public static Config.DeviceIdStrategy 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 getIndex()
public static Config.DeviceIdStrategy fromIndex(int index)