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
/
AdminSettingsManager
Admin
Settings
Manager
open
class
AdminSettingsManager
:
AbstractPrefsManager
This class represents custom settings for a connected app set by the org admin.
Members
Constructors
Admin
Settings
Manager
Link copied to clipboard
constructor
(
)
Properties
FILENAME_
ROOT
Link copied to clipboard
val
FILENAME_ROOT
:
String
=
"admin_prefs"
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.