public enum RpOption extends Enum<RpOption>
Enum Constant and Description |
---|
FAST
Fastest route
|
FREE
Free route
|
HIGHWAY
Highway first
|
NO_AUTO
Exclude motorway
|
NORMAL
Normal road first
|
RECOMMENDED
Recommended route (Current default option if not set)
|
SHORTEST
Shortest route
|
WIDE
Wide road first
|
Modifier and Type | Method and Description |
---|---|
int |
getOption() |
static RpOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpOption FAST
public static final RpOption FREE
public static final RpOption HIGHWAY
public static final RpOption NO_AUTO
public static final RpOption NORMAL
public static final RpOption RECOMMENDED
public static final RpOption SHORTEST
public static final RpOption WIDE
public int getOption()
public static RpOption 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 nullpublic static RpOption[] values()
for (RpOption c : RpOption.values()) System.out.println(c);