public static enum LocationRequest.RealtimeUpdateInterval extends java.lang.Enum<LocationRequest.RealtimeUpdateInterval>
Enum Constant and Description |
---|
FAST
The realtime dashboard will update faster, but not in real time.
|
NORMAL
A compromise between real time and low power consumption
|
REALTIME
The realtime dashboard will update in real time.
|
SLOW
The realtime will update slower.
|
Modifier and Type | Method and Description |
---|---|
int |
getInterval() |
static LocationRequest.RealtimeUpdateInterval |
valueOf(java.lang.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 REALTIME
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(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 int getInterval()