public class SalesforceHybridSDKManager extends MobileSyncSDKManager
GLOBAL_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
SalesforceHybridSDKManager(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
Protected constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppType() |
static SalesforceHybridSDKManager |
getInstance()
Returns a singleton instance of this class.
|
java.lang.String |
getUserAgent(java.lang.String qualifier) |
static void |
initHybrid(Context context)
Initializes components required for this class
to properly function.
|
static void |
initHybrid(Context context,
java.lang.Class<? extends Activity> loginActivity)
Initializes components required for this class
to properly function.
|
static void |
initHybrid(Context context,
java.lang.Class<? extends SalesforceDroidGapActivity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
Initializes components required for this class
to properly function.
|
boolean |
isHybrid() |
void |
setupGlobalStoreFromDefaultConfig()
Setup global store using config found in assets/www/globalstore.json
|
void |
setupGlobalSyncsFromDefaultConfig()
Setup global syncs using config found in assets/www/globalsyncs.json
|
void |
setupUserStoreFromDefaultConfig()
Setup user store using config found in assets/www/userstore.json
|
void |
setupUserSyncsFromDefaultConfig()
Setup user syncs using config found in assets/www/usersyncs.json
|
cleanUp, initNative, initNative, initNative
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
protected SalesforceHybridSDKManager(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 initHybrid(Context context)
context
- Application context.public static void initHybrid(Context context, java.lang.Class<? extends Activity> loginActivity)
context
- Application context.loginActivity
- Login activity.public static void initHybrid(Context context, java.lang.Class<? extends SalesforceDroidGapActivity> mainActivity, java.lang.Class<? extends Activity> loginActivity)
context
- Application context.mainActivity
- Main activity.loginActivity
- Login activity.public static SalesforceHybridSDKManager getInstance()
public final java.lang.String getUserAgent(java.lang.String qualifier)
public java.lang.String getAppType()
public boolean isHybrid()
public void setupGlobalStoreFromDefaultConfig()
setupGlobalStoreFromDefaultConfig
in class SmartStoreSDKManager
public void setupUserStoreFromDefaultConfig()
setupUserStoreFromDefaultConfig
in class SmartStoreSDKManager
public void setupGlobalSyncsFromDefaultConfig()
setupGlobalSyncsFromDefaultConfig
in class MobileSyncSDKManager
public void setupUserSyncsFromDefaultConfig()
setupUserSyncsFromDefaultConfig
in class MobileSyncSDKManager