public enum DispatchMode extends java.lang.Enum<DispatchMode>
| Enum Constant and Description |
|---|
ALWAYS
Dispatch always (default)
|
WIFI_ONLY
Dispatch only on WIFI
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchMode |
fromString(java.lang.String raw) |
java.lang.String |
toString() |
static DispatchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DispatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchMode ALWAYS
public static final DispatchMode WIFI_ONLY
public static DispatchMode[] values()
for (DispatchMode c : DispatchMode.values()) System.out.println(c);
public static DispatchMode 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 java.lang.String toString()
toString in class java.lang.Enum<DispatchMode>@Nullable public static DispatchMode fromString(java.lang.String raw)