@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class SandboxUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getAuthorityResource(Context context) |
static String |
getBraintreeKeyResource(Context context) |
public static String getAuthorityResource(Context context)
context
- The context to find the
R.string.levelup_api_authority
version to use.R.string.levelup_api_authority
if present,
otherwise the production or sandbox value based on
R.bool.levelup_sandbox_enabled
.public static String getBraintreeKeyResource(Context context)
context
- The context to find the
R.string.levelup_braintree_clientside_encryption_key
version
to use.R.string.levelup_braintree_clientside_encryption_key
if
present, otherwise the production or sandbox value based on
R.bool.levelup_sandbox_enabled
.