public static enum LocationRequest.RealtimeUpdateInterval extends Enum<LocationRequest.RealtimeUpdateInterval>
| Enum Constant and Description |
|---|
FAST
The realtime dashboard will update faster.
|
NORMAL
A compromise between real time and low power consumption
|
SLOW
The realtime will update slower.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInterval() |
static LocationRequest.RealtimeUpdateInterval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationRequest.RealtimeUpdateInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationRequest.RealtimeUpdateInterval FAST
public static final LocationRequest.RealtimeUpdateInterval NORMAL
public static final LocationRequest.RealtimeUpdateInterval SLOW
public static LocationRequest.RealtimeUpdateInterval[] values()
for (LocationRequest.RealtimeUpdateInterval c : LocationRequest.RealtimeUpdateInterval.values()) System.out.println(c);
public static LocationRequest.RealtimeUpdateInterval 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 int getInterval()