public static enum Map.Animation extends java.lang.Enum<Map.Animation>
If the map changes size or the app comes to the foreground while Animation.LINEAR
or
Animation.BOW
is being used in a Map
attribute setter method, then the
animation will abort, and the transition will appear as failed. To avoid this behavior, use
the Animation.NONE
animation type or wait until the map is stable before performing
the transition operation.
Enum Constant and Description |
---|
LINEAR
Moves in a linear manner as the map resets to a new position.
|
NONE
No animation is performed as the map resets to a new position.
|
Modifier and Type | Method and Description |
---|---|
static Map.Animation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Map.Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Map.Animation LINEAR
public static final Map.Animation NONE
public static Map.Animation[] values()
for (Map.Animation c : Map.Animation.values()) System.out.println(c);
public static Map.Animation 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