public class EnvironmentManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
EnvironmentManager |
config(android.app.Activity activity)
Setup the manager with required parameters.
|
com.coffeebeantech.socialidapi.util.Environment |
getEnvironment()
Get the current environment.
|
static EnvironmentManager |
getInstance() |
void |
setEnvironment(com.coffeebeantech.socialidapi.util.Environment environment)
Clear all SDK cached information and updates the environment.
|
public static EnvironmentManager getInstance()
public EnvironmentManager config(android.app.Activity activity)
activity
- Application's activitypublic void setEnvironment(com.coffeebeantech.socialidapi.util.Environment environment)
environment
- the new environment.public com.coffeebeantech.socialidapi.util.Environment getEnvironment()