Serializable, Comparable<ConfigType>public enum ConfigType extends Enum<ConfigType>
ConfigManager| 枚举常量 | 说明 |
|---|---|
BRIDGE_ON_5GHZ |
Specifies whether a wireless bridge is allowed on 5 GHz Wi-Fi.
|
CAMERA_SOUND |
Specifies whether a camera sound is mandatory when a photo is taken.
|
COUNTRY_REGION |
Indicates the target country or region where the device is delivered.
|
FACE_CHANGING |
Specifies whether the camera displays Sichuan opera face-changing materials.
|
MUSLIM_CLOCK |
Specifies whether the Muslim alarm clock takes effect.
|
TABOO_ICON |
Indicates taboo icons prohibited in certain regions.
|
VOICE_CFG |
Indicates the parameter configurations of a voice call, which is specified to achieve
certain certification.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static ConfigType |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static ConfigType[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (ConfigType c : ConfigType.values()) System.out.println(c); |
public static final ConfigType BRIDGE_ON_5GHZ
ConfigManager.getBoolean(ConfigType type) method.public static final ConfigType CAMERA_SOUND
ConfigManager.getBoolean(ConfigType type) method.public static final ConfigType COUNTRY_REGION
ConfigManager.getString(ConfigType type) method.public static final ConfigType FACE_CHANGING
ConfigManager.getBoolean(ConfigType type) method.public static final ConfigType MUSLIM_CLOCK
ConfigManager.getBoolean(ConfigType type) method.public static final ConfigType TABOO_ICON
ConfigManager.getString(ConfigType type) method.public static final ConfigType VOICE_CFG
ConfigManager.getString(ConfigType type) method.public static ConfigType[] values()
for (ConfigType c : ConfigType.values()) System.out.println(c);
public static ConfigType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值