public class DeveloperOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBool(String name,
boolean def)
Returns the developer option specified by name as a boolean.
|
static int |
getInt(String name,
int def)
Returns the developer option specified by name as an integer.
|
static String |
getString(String name)
Returns the developer option specified as a string.
|
static String |
getString(String name,
String def)
Returns the developer option specified by name as a string.
|
static boolean |
isBackGroundDisabled() |
static boolean |
isDeveloperWorkstation()
Returns T if this is a developer's workstation.
|
public static boolean isDeveloperWorkstation()
@Nullable public static String getString(@Nonnull String name)
@Nonnull public static String getString(@Nonnull String name, @Nonnull String def)
name - def - public static boolean getBool(@Nonnull String name, boolean def)
name - def - public static int getInt(@Nonnull String name, int def)
name - def - public static boolean isBackGroundDisabled()
Copyright © 2017 etc.to. All rights reserved.