public static enum PositioningManager.LocationMethod extends java.lang.Enum<PositioningManager.LocationMethod>
Enum Constant and Description |
---|
GPS
Positioning is provided using a GPS device.
|
GPS_NETWORK
Positioning is provided using a wireless network, or a GPS device, or both.
|
NETWORK
Positioning is provided using a wireless network.
|
NONE
Device positioning is not active.
|
Modifier and Type | Method and Description |
---|---|
static PositioningManager.LocationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PositioningManager.LocationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositioningManager.LocationMethod NONE
public static final PositioningManager.LocationMethod GPS
public static final PositioningManager.LocationMethod NETWORK
public static final PositioningManager.LocationMethod GPS_NETWORK
public static PositioningManager.LocationMethod[] values()
for (PositioningManager.LocationMethod c : PositioningManager.LocationMethod.values()) System.out.println(c);
public static PositioningManager.LocationMethod 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