public enum LocationSource extends java.lang.Enum<LocationSource>
| Enum Constant and Description |
|---|
CONTACT |
DEVICE |
LOCATION_SERVICES |
NONE |
PHONEBOOK_SERVICES |
RESOURCE |
| Modifier and Type | Method and Description |
|---|---|
static LocationSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationSource NONE
public static final LocationSource LOCATION_SERVICES
public static final LocationSource PHONEBOOK_SERVICES
public static final LocationSource DEVICE
public static final LocationSource CONTACT
public static final LocationSource RESOURCE
public static LocationSource[] values()
for (LocationSource c : LocationSource.values()) System.out.println(c);
public static LocationSource 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