-
public class BranchUtilClass for Branch utility methods
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBranchUtil.JsonReader
-
Method Summary
Modifier and Type Method Description static StringreadBranchKey(Context context)static booleanisTestModeEnabled()Get the value of "io.branch.sdk.TestMode" entry in application manifest or from String res.This value can be overridden via. static booleanisDebugEnabled()static StringdecodeResourceId(Context context, int resourceId)static DrawablegetDrawable(@NonNull() Context context, @DrawableRes() int drawableID)static intdpToPx(Context context, int dp)static booleanisLowOnMemory(Context context)Checks the current device's ActivityManager system service and returns the valueof the lowMemory flag. static JSONObjectgetDeepLinkSchemes(Context context)-
-
Method Detail
-
readBranchKey
static String readBranchKey(Context context)
-
isTestModeEnabled
static boolean isTestModeEnabled()
Get the value of "io.branch.sdk.TestMode" entry in application manifest or from String res.This value can be overridden via. enableTestMode
-
isDebugEnabled
static boolean isDebugEnabled()
-
decodeResourceId
static String decodeResourceId(Context context, int resourceId)
-
getDrawable
static Drawable getDrawable(@NonNull() Context context, @DrawableRes() int drawableID)
-
isLowOnMemory
static boolean isLowOnMemory(Context context)
Checks the current device's ActivityManager system service and returns the valueof the lowMemory flag.
-
getDeepLinkSchemes
static JSONObject getDeepLinkSchemes(Context context)
-
-
-
-