com.vodafone360.people.service.agent
Enum NetworkAgent.StatesOfService
java.lang.Object
java.lang.Enum<NetworkAgent.StatesOfService>
com.vodafone360.people.service.agent.NetworkAgent.StatesOfService
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<NetworkAgent.StatesOfService>
- Enclosing class:
- NetworkAgent
public static enum NetworkAgent.StatesOfService
- extends java.lang.Enum<NetworkAgent.StatesOfService>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
IS_CONNECTED_TO_INTERNET
public static final NetworkAgent.StatesOfService IS_CONNECTED_TO_INTERNET
IS_NETWORK_WORKING
public static final NetworkAgent.StatesOfService IS_NETWORK_WORKING
IS_ROAMING
public static final NetworkAgent.StatesOfService IS_ROAMING
IS_ROAMING_ALLOWED
public static final NetworkAgent.StatesOfService IS_ROAMING_ALLOWED
IS_INBACKGROUND
public static final NetworkAgent.StatesOfService IS_INBACKGROUND
IS_BG_CONNECTION_ALLOWED
public static final NetworkAgent.StatesOfService IS_BG_CONNECTION_ALLOWED
IS_WIFI_ACTIVE
public static final NetworkAgent.StatesOfService IS_WIFI_ACTIVE
values
public static NetworkAgent.StatesOfService[] 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 (NetworkAgent.StatesOfService c : NetworkAgent.StatesOfService.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NetworkAgent.StatesOfService 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 name
java.lang.NullPointerException
- if the argument is null
JavaDoc