SendbirdUIKit
3.21.1
SendbirdUIKit
/
com.sendbird.uikit.utils
/
UIKitPrefs
UIKit
Prefs
class
UIKitPrefs
Functions
Functions
clear
All
Link copied to clipboard
open
fun
clearAll
(
)
get
Boolean
Link copied to clipboard
open
fun
getBoolean
(
@
NonNull
key
:
String
)
:
Boolean
open
fun
getBoolean
(
@
NonNull
key
:
String
,
defValue
:
Boolean
)
:
Boolean
get
Int
Link copied to clipboard
open
fun
getInt
(
@
NonNull
key
:
String
)
:
Int
open
fun
getInt
(
@
NonNull
key
:
String
,
defValue
:
Int
)
:
Int
get
Long
Link copied to clipboard
open
fun
getLong
(
@
NonNull
key
:
String
)
:
Long
open
fun
getLong
(
@
NonNull
key
:
String
,
defValue
:
Long
)
:
Long
get
String
Link copied to clipboard
@
Nullable
open
fun
getString
(
@
NonNull
key
:
String
)
:
String
@
Nullable
open
fun
getString
(
@
NonNull
key
:
String
,
@
Nullable
defValue
:
String
)
:
String
init
Link copied to clipboard
open
fun
init
(
@
NonNull
context
:
Context
)
put
Boolean
Link copied to clipboard
open
fun
putBoolean
(
@
NonNull
key
:
String
,
value
:
Boolean
)
put
Int
Link copied to clipboard
open
fun
putInt
(
@
NonNull
key
:
String
,
value
:
Int
)
put
Long
Link copied to clipboard
open
fun
putLong
(
@
NonNull
key
:
String
,
value
:
Long
)
put
String
Link copied to clipboard
open
fun
putString
(
@
NonNull
key
:
String
,
@
Nullable
value
:
String
)
remove
Link copied to clipboard
open
fun
remove
(
@
NonNull
key
:
String
)