public enum ConnectionQuality extends java.lang.Enum<ConnectionQuality>
| Enum Constant and Description |
|---|
EXCELLENT
EXCELLENT - Bandwidth over 2000 kbps.
|
GOOD
Bandwidth between 550 and 2000 kbps.
|
MODERATE
Bandwidth between 150 and 550 kbps.
|
POOR
Bandwidth under 150 kbps.
|
UNKNOWN
Placeholder for unknown bandwidth.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionQuality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionQuality POOR
public static final ConnectionQuality MODERATE
public static final ConnectionQuality GOOD
public static final ConnectionQuality EXCELLENT
public static final ConnectionQuality UNKNOWN
public static ConnectionQuality[] values()
for (ConnectionQuality c : ConnectionQuality.values()) System.out.println(c);
public static ConnectionQuality 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 null