public static enum TookanLocationMode.LocationMode extends java.lang.Enum<TookanLocationMode.LocationMode>
| Enum Constant and Description |
|---|
HIGH_ACCURACY |
LOW_ACCURACY |
MEDIUM_ACCURACY |
| Modifier and Type | Method and Description |
|---|---|
static TookanLocationMode.LocationMode |
getLocationMode(int type)
Method to return the required LocationMode according
to the type
|
int |
getLocationModeType() |
int |
getLocationRefreshFrequency() |
int |
getMinDistance() |
boolean |
requireGps() |
static TookanLocationMode.LocationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TookanLocationMode.LocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TookanLocationMode.LocationMode LOW_ACCURACY
public static final TookanLocationMode.LocationMode MEDIUM_ACCURACY
public static final TookanLocationMode.LocationMode HIGH_ACCURACY
public static TookanLocationMode.LocationMode[] values()
for (TookanLocationMode.LocationMode c : TookanLocationMode.LocationMode.values()) System.out.println(c);
public static TookanLocationMode.LocationMode 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 static TookanLocationMode.LocationMode getLocationMode(int type)
type - 1 - High Acc, 3 - Low Acc, others - mediumpublic int getLocationModeType()
public int getLocationRefreshFrequency()
public int getMinDistance()
public boolean requireGps()