public enum RequestLocationMode extends Enum<RequestLocationMode>
Enum Constant and Description |
---|
PRIMARY_ONLY |
PRIMARY_OR_SECONDARY |
SECONDARY_ONLY |
Modifier and Type | Method and Description |
---|---|
static RequestLocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestLocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestLocationMode PRIMARY_ONLY
public static final RequestLocationMode SECONDARY_ONLY
public static final RequestLocationMode PRIMARY_OR_SECONDARY
public static RequestLocationMode[] values()
for (RequestLocationMode c : RequestLocationMode.values()) System.out.println(c);
public static RequestLocationMode 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 © 2019. All rights reserved.