SalesforceMobileSDK-Android
Toggle table of contents
14.0.0-rc.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SalesforceMobileSDK-Android
SalesforceSDK
/
com.salesforce.androidsdk.config
/
AbstractPrefsManager
Abstract
Prefs
Manager
abstract
class
AbstractPrefsManager
Inheritors
AdminPermsManager
AdminSettingsManager
Members
Constructors
Abstract
Prefs
Manager
Link copied to clipboard
constructor
(
)
Functions
get
Pref
Link copied to clipboard
open
fun
getPref
(
key
:
String
,
account
:
UserAccount
)
:
String
Returns the pref value for the specified key, for a user account.
get
Prefs
Link copied to clipboard
open
fun
getPrefs
(
account
:
UserAccount
)
:
Map
<
String
,
String
>
Returns all the prefs for a user account.
reset
Link copied to clipboard
open
fun
reset
(
account
:
UserAccount
)
Clears the stored prefs for the specified user.
reset
All
Link copied to clipboard
open
fun
resetAll
(
)
:
Boolean
Clears the stored prefs for all users.
set
Prefs
Link copied to clipboard
open
fun
setPrefs
(
attribs
:
Map
<
String
,
String
>
,
account
:
UserAccount
)
open
fun
setPrefs
(
attribs
:
JSONObject
,
account
:
UserAccount
)
Sets the prefs for the specified user account.