Enum Class ModuleName

java.lang.Object
java.lang.Enum<ModuleName>
com.baidu.mapapi.ModuleName
All Implemented Interfaces:
Serializable, Comparable<ModuleName>, Constable

public enum ModuleName extends Enum<ModuleName>
模块名称枚举类,用于开启调试Log,目前仅支持TileOverlay模块开启调试Log
  • Enum Constant Details

    • TILE_OVERLAY_MODULE

      public static final ModuleName TILE_OVERLAY_MODULE
      TileOverlay模块名称
  • Method Details

    • values

      public static ModuleName[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModuleName valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null