public class BeCo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static BeCo |
mobileSessionInstance |
Modifier and Type | Method and Description |
---|---|
void |
configure(Context context,
BeCoCredentialProvider beCoCredentialProvider,
BEValidateCallback callback)
This methods is used to configure the beCo SDK.
|
static BeCo |
getInstance()
This returns the concrete instance of the BeCo.
|
static java.lang.String |
getSDKVersion()
This returns the Version number of the SDK.
|
void |
getSites(Location location,
BESiteCallback bcSiteCallback)
This method will fetch the sites created on the dashboard and will trigger either onError or onLoadFinished
|
static BeCo |
init()
First method which needs to be called in the BeCo to create a concrete instance of the BeCo.
|
protected static BeCo mobileSessionInstance
public static BeCo init()
public void configure(Context context, BeCoCredentialProvider beCoCredentialProvider, BEValidateCallback callback)
context
- ContextbeCoCredentialProvider
- BeCoCredentialProvidercallback
- BEValidateCallbackpublic void getSites(Location location, BESiteCallback bcSiteCallback)
location
- locationbcSiteCallback
- bcSiteCallbackpublic static java.lang.String getSDKVersion()
public static BeCo getInstance()