public static enum POBLocation.Source extends java.lang.Enum<POBLocation.Source>
Enum Constant and Description |
---|
GPS
Indicates that location is inferred using the Android APIs
|
IP_ADDRESS
Indicates that location is inferred using IP address
|
USER
Indicates that location is provided by application user.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer representation of location source.
|
static POBLocation.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBLocation.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBLocation.Source GPS
public static final POBLocation.Source IP_ADDRESS
public static final POBLocation.Source USER
public static POBLocation.Source[] values()
for (POBLocation.Source c : POBLocation.Source.values()) System.out.println(c);
public static POBLocation.Source 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 getValue()