toggle menu
MobileMail
androidJvm
switch theme
search in API
MobileMail
/
com.mobilemail.data.preferences
/
PreferencesManager
Preferences
Manager
class
PreferencesManager
(
context
:
Context
)
Members
Constructors
Preferences
Manager
Link copied to clipboard
constructor
(
context
:
Context
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
server
Url
Link copied to clipboard
val
serverUrl
:
Flow
<
String
?
>
Functions
clear
Session
Link copied to clipboard
suspend
fun
clearSession
(
)
get
OAuth
Metadata
Link copied to clipboard
suspend
fun
getOAuthMetadata
(
server
:
String
)
:
OAuthServerMetadata
?
get
Saved
Session
Link copied to clipboard
suspend
fun
getSavedSession
(
)
:
SavedSession
?
get
Server
Url
Link copied to clipboard
suspend
fun
getServerUrl
(
)
:
String
?
save
OAuth
Metadata
Link copied to clipboard
suspend
fun
saveOAuthMetadata
(
server
:
String
,
metadata
:
OAuthServerMetadata
)
save
Server
Url
Link copied to clipboard
suspend
fun
saveServerUrl
(
url
:
String
)
save
Session
Link copied to clipboard
suspend
fun
saveSession
(
server
:
String
,
email
:
String
,
accountId
:
String
)