public static enum MyLocationConfiguration.LocationMode extends java.lang.Enum<MyLocationConfiguration.LocationMode>
| Enum Constant and Description |
|---|
COMPASS
罗盘态,显示定位方向圈,保持定位图标在地图中心
|
FOLLOWING
跟随态,保持定位图标在地图中心
|
NORMAL
普通态: 更新定位数据时不对地图做任何操作
|
| Modifier and Type | Method and Description |
|---|---|
static MyLocationConfiguration.LocationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MyLocationConfiguration.LocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MyLocationConfiguration.LocationMode NORMAL
public static final MyLocationConfiguration.LocationMode FOLLOWING
public static final MyLocationConfiguration.LocationMode COMPASS
public static MyLocationConfiguration.LocationMode[] values()
for (MyLocationConfiguration.LocationMode c : MyLocationConfiguration.LocationMode.values()) System.out.println(c);
public static MyLocationConfiguration.LocationMode 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 null