Package io.appium.java_client.android
Enum NetworkSpeed
- java.lang.Object
-
- java.lang.Enum<NetworkSpeed>
-
- io.appium.java_client.android.NetworkSpeed
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NetworkSpeed>
public enum NetworkSpeed extends java.lang.Enum<NetworkSpeed>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetworkSpeed
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NetworkSpeed[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GSM
public static final NetworkSpeed GSM
-
SCSD
public static final NetworkSpeed SCSD
-
GPRS
public static final NetworkSpeed GPRS
-
EDGE
public static final NetworkSpeed EDGE
-
UMTS
public static final NetworkSpeed UMTS
-
HSDPA
public static final NetworkSpeed HSDPA
-
LTE
public static final NetworkSpeed LTE
-
EVDO
public static final NetworkSpeed EVDO
-
FULL
public static final NetworkSpeed FULL
-
-
Method Detail
-
values
public static NetworkSpeed[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NetworkSpeed c : NetworkSpeed.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkSpeed valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-