@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class CoreLibConstants extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG
Determines whether the library is debuggable.
|
static boolean |
IS_CHECKREP_ENABLED
Flag to turn object representation invariant checking on/off.
|
static boolean |
IS_PARAMETER_CHECKING_ENABLED
Flag to turn method parameter checking on/off.
|
static boolean |
IS_SLOW_ASYNC_ENABLED
Flag to enable slow asynchronous accesses.
|
static boolean |
PROGUARDED
Allows the application to determine whether ProGuard has been applied to this library.
|
static String |
SDK_VERSION
Version of the SDK, as per Semantic Versioning.
|
static long |
SLOW_ASYNC_DELAY_MILLIS
Delay in milliseconds when slow async operations are enabled.
|
public static final boolean PROGUARDED
public static final boolean DEBUG
PROGUARDED
which typically correlates with debug/release build flavors. This is a
temporary replacement for BuildConfig.DEBUG
in order to avoid
this AOSP bug. This
bug causes all library projects to be built in release mode even when the application is
built in debug mode.public static final boolean IS_CHECKREP_ENABLED
public static final boolean IS_PARAMETER_CHECKING_ENABLED
public static final boolean IS_SLOW_ASYNC_ENABLED
public static final String SDK_VERSION
public static final long SLOW_ASYNC_DELAY_MILLIS
IS_SLOW_ASYNC_ENABLED
,
Constant Field Values