public enum PositioningMethod extends Enum<PositioningMethod>
| Enum Constant and Description |
|---|
CELL |
GNSS |
NO_LOCATION |
UNKNOWN |
WIFI |
| Modifier and Type | Method and Description |
|---|---|
static PositioningMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositioningMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositioningMethod GNSS
public static final PositioningMethod WIFI
public static final PositioningMethod CELL
public static final PositioningMethod NO_LOCATION
public static final PositioningMethod UNKNOWN
public static PositioningMethod[] values()
for (PositioningMethod c : PositioningMethod.values()) System.out.println(c);
public static PositioningMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.