Package com.baidu.navisdk.adapter
Enum IBNMapManager.MapTypeEnum
- java.lang.Object
-
- java.lang.Enum<IBNMapManager.MapTypeEnum>
-
- com.baidu.navisdk.adapter.IBNMapManager.MapTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IBNMapManager.MapTypeEnum>
- Enclosing interface:
- IBNMapManager
public static enum IBNMapManager.MapTypeEnum extends java.lang.Enum<IBNMapManager.MapTypeEnum>
底图模式类型
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType()voidsetType(int type)static IBNMapManager.MapTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IBNMapManager.MapTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final IBNMapManager.MapTypeEnum NORMAL
普通导航
-
SLIGHT
public static final IBNMapManager.MapTypeEnum SLIGHT
轻导航
-
ROUTE
public static final IBNMapManager.MapTypeEnum ROUTE
路线结果页
-
-
Method Detail
-
values
public static IBNMapManager.MapTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IBNMapManager.MapTypeEnum c : IBNMapManager.MapTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IBNMapManager.MapTypeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getType
public int getType()
-
setType
public void setType(int type)
-
-