public class MobileSyncSDKManager extends SmartStoreSDKManager
GLOBAL_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
MobileSyncSDKManager(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity,
java.lang.Class<? extends Activity> nativeLoginActivity)
Protected constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUp(UserAccount userAccount) |
static MobileSyncSDKManager |
getInstance()
Returns a singleton instance of this class.
|
static void |
initNative(Context context,
java.lang.Class<? extends Activity> mainActivity)
Initializes components required for this class
to properly function.
|
static void |
initNative(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
Initializes components required for this class
to properly function.
|
static void |
initNative(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity,
java.lang.Class<? extends Activity> nativeLoginActivity)
Initializes components required for this class
to properly function.
|
void |
setupGlobalSyncsFromDefaultConfig()
Setup global syncs using config found in res/raw/globalsyncs.json
|
void |
setupUserSyncsFromDefaultConfig()
Setup user syncs using config found in res/raw/usersyncs.json
|
getDevActions, getDevSupportInfos, getGlobalKeyValueStore, getGlobalKeyValueStoresPrefixList, getGlobalSmartStore, getGlobalSmartStore, getGlobalStoresPrefixList, getKeyValueStore, getKeyValueStore, getKeyValueStore, getKeyValueStoresPrefixList, getKeyValueStoresPrefixList, getSmartStore, getSmartStore, getSmartStore, getSmartStore, getUserStoresPrefixList, getUserStoresPrefixList, hasGlobalKeyValueStore, hasGlobalSmartStore, hasKeyValueStore, hasKeyValueStore, hasKeyValueStore, hasSmartStore, hasSmartStore, hasSmartStore, hasSmartStore, removeAllGlobalKeyValueStores, removeAllGlobalStores, removeAllKeyValueStores, removeAllKeyValueStores, removeAllUserStores, removeAllUserStores, removeGlobalKeyValueStore, removeGlobalSmartStore, removeKeyValueStore, removeKeyValueStore, removeKeyValueStore, removeSmartStore, removeSmartStore, removeSmartStore, removeSmartStore, setupGlobalStoreFromDefaultConfig, setupUserStoreFromDefaultConfig
protected MobileSyncSDKManager(Context context, java.lang.Class<? extends Activity> mainActivity, java.lang.Class<? extends Activity> loginActivity, java.lang.Class<? extends Activity> nativeLoginActivity)
context
- Application context.mainActivity
- Activity that should be launched after the login flow.loginActivity
- Login activity.nativeLoginActivity
- Native login activity.public static void initNative(Context context, java.lang.Class<? extends Activity> mainActivity)
context
- Application context.mainActivity
- Activity that should be launched after the login flow.public static void initNative(Context context, java.lang.Class<? extends Activity> mainActivity, java.lang.Class<? extends Activity> loginActivity)
context
- Application context.mainActivity
- Activity that should be launched after the login flow.loginActivity
- Login activity.public static void initNative(Context context, java.lang.Class<? extends Activity> mainActivity, java.lang.Class<? extends Activity> loginActivity, java.lang.Class<? extends Activity> nativeLoginActivity)
context
- Application context.mainActivity
- Activity that should be launched after the login flow.loginActivity
- Login activity.nativeLoginActivity
- Native login activity.public static MobileSyncSDKManager getInstance()
protected void cleanUp(UserAccount userAccount)
cleanUp
in class SmartStoreSDKManager
public void setupGlobalSyncsFromDefaultConfig()
public void setupUserSyncsFromDefaultConfig()