LocationMethod
The enumeration LocationMethod is a member of com.here.android.mpa.common.PositioningManager.
Enumeration Summary
public static final enumeration PositioningManager.LocationMethod
extends java.lang.Enum, java.lang.Object
Represents values describing the location method.
[For complete information, see the section Enumeration Details]
Enum Constant Summary
Fields |
---|
Device positioning is not active. |
Positioning is provided using a GPS device. |
Positioning is provided using a wireless network. |
Positioning is provided using a wireless network, or a GPS device, or both. |
Method Summary
Methods |
---|
This method retrieves the enumeration value that matches the name specified by the caller. |
This method retrieves an array of constants of the given enum type in the order in which they are declared. |
Enumeration Details
Represents values describing the location method.
Enum Constant Details
public static final LocationMethod NONE
Device positioning is not active.
public static final LocationMethod GPS
Positioning is provided using a GPS device.
public static final LocationMethod NETWORK
Positioning is provided using a wireless network.
public static final LocationMethod GPS_NETWORK
Positioning is provided using a wireless network, or a GPS device, or both.
Method Details
public static LocationMethod valueOf (String name)
This method retrieves the enumeration value that matches the name specified by the caller.
Parameters:
-
name
A string containing the name of the enumeration member whose value is to be retrieved.
public static PositioningManager.LocationMethod[] values ()
This method retrieves an array of constants of the given enum type in the order in which they are declared.