SmartStoreSDKManager

SDK Manager for all native applications that use SmartStore

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val GLOBAL_SUFFIX: String = "_global"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var loginBrand: String
Link copied to clipboard
val LOGOUT_COMPLETE_INTENT_ACTION: String = "com.salesforce.LOGOUT_COMPLETE"
Link copied to clipboard
val LOGOUT_REASON_KEY: String = "logout_reason"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val SDK_VERSION: String = "14.0.0-rc.0"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val USER_ACCOUNT_KEY: String = "userAccount"

Functions

Link copied to clipboard
fun colorScheme(p: Composer, p1: Int): ColorScheme
Link copied to clipboard
Link copied to clipboard
fun darkColorScheme(p: Composer, p1: Int): ColorScheme
Link copied to clipboard
fun decrypt(p: String, p1: String): String
Link copied to clipboard
fun encrypt(p: String, p1: String): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get global key value store with given name
Link copied to clipboard
Returns a list of global key value store names.
Link copied to clipboard
Return default database used by smart store in the global context
Returns the database used by smart store in the global context.
Link copied to clipboard
Returns a list of global store names.
Link copied to clipboard

Returns a singleton instance of this class.
Link copied to clipboard
Link copied to clipboard
Get key value store with given name for current user
Get key value store with given name for given user
open fun getKeyValueStore(storeName: String, account: UserAccount, communityId: String): KeyValueEncryptedFileStore
Get key value store with given name for given user / community
Link copied to clipboard
Returns a list of key value store names for current user.
Returns a list of key value store names for given user.
Link copied to clipboard
Link copied to clipboard
Returns the database used by smart store for the current user.
Returns the database used by smart store for a specified user.
open fun getSmartStore(account: UserAccount, communityId: String): SmartStore
Returns the database used by smart store for a specified user in the specified community.
open fun getSmartStore(dbNamePrefix: String, account: UserAccount, communityId: String): SmartStore
Returns the database used by smart store for a specified database name and user in the specified community.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a list of store names for current user.
Returns a list of store names for given user.
Link copied to clipboard
open fun hasGlobalKeyValueStore(storeName: String): Boolean
Return whether there is a global key value store with given name
Link copied to clipboard
Returns whether global smart store is enabled or not.
Link copied to clipboard
Link copied to clipboard
open fun hasKeyValueStore(storeName: String): Boolean
Return whether there is a key value store with given name for current user
open fun hasKeyValueStore(storeName: String, account: UserAccount): Boolean
Return whether there is a key value store with given name for given user
open fun hasKeyValueStore(storeName: String, account: UserAccount, communityId: String): Boolean
Return whether there is a key value store with given name for given user / community id
Link copied to clipboard
Link copied to clipboard
Returns whether smart store is enabled for the current user or not.
open fun hasSmartStore(account: UserAccount): Boolean
Returns whether smart store is enabled for the specified user or not.
open fun hasSmartStore(account: UserAccount, communityId: String): Boolean
Returns whether smart store is enabled for the specified community or not.
open fun hasSmartStore(dbNamePrefix: String, account: UserAccount, communityId: String): Boolean
Returns whether smart store is enabled for the specified database or not.
Link copied to clipboard
Link copied to clipboard
open fun initNative(p: Context, p1: Class<out Activity>)

open fun initNative(@NonNull context: Context, @NonNull mainActivity: Class<out Activity>)
open fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>)
open fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>, nativeLoginActivity: Class<out Activity>)
Initializes components required for this class to properly function.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun lightColorScheme(p: Composer, p1: Int): ColorScheme
Link copied to clipboard
open fun logout(p: Account, p1: Activity, p2: Boolean, p3: OAuth2.LogoutReason)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPause(p: LifecycleOwner)
Link copied to clipboard
Link copied to clipboard
open fun onStart(p: LifecycleOwner)
Link copied to clipboard
open fun onStop(p: LifecycleOwner)
Link copied to clipboard
Link copied to clipboard
Removes all the global key value stores.
Link copied to clipboard
Removes all the global stores.
Link copied to clipboard
Removes all the key value stores for current user.
Removes all the key value stores for given user.
Link copied to clipboard
open fun removeAllUserStores(account: UserAccount)
Removes all the stores for current user.
Link copied to clipboard
open fun removeGlobalKeyValueStore(storeName: String)
Remove global key value store with given name
Link copied to clipboard
open fun removeGlobalSmartStore(dbName: String)
Removes the global smart store.
Link copied to clipboard
open fun removeKeyValueStore(storeName: String)
Remove key value store with given name for current user
open fun removeKeyValueStore(storeName: String, account: UserAccount)
Remove key value store with given name for given user
open fun removeKeyValueStore(storeName: String, account: UserAccount, communityId: String)
Remove key value store with given name for given user / community id
Link copied to clipboard
open fun removeSmartStore()
Removes the default smart store for the current user.
open fun removeSmartStore(account: UserAccount)
Removes the default smart store for the specified user.
open fun removeSmartStore(account: UserAccount, communityId: String)
Removes the default smart store for the specified user and community.
open fun removeSmartStore(dbNamePrefix: String, account: UserAccount, communityId: String)
Removes the named smart store for the specified user and community.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAppName(p: String)
Link copied to clipboard
fun setDarkColorScheme(p: ColorScheme)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setLightColorScheme(p: ColorScheme)
Link copied to clipboard
Setup global store using config found in res/raw/globalstore.
Link copied to clipboard
Setup user store using config found in res/raw/userstore.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard