trixnity-client
3.7.0-beta3
common
trixnity-client
/
net.folivo.trixnity.client.store
/
AccountStore
Account
Store
class
AccountStore
(
repository
:
AccountRepository
,
tm
:
TransactionManager
,
storeScope
:
CoroutineScope
)
:
Store
Members
Constructors
Account
Store
Link copied to clipboard
constructor
(
repository
:
AccountRepository
,
tm
:
TransactionManager
,
storeScope
:
CoroutineScope
)
Properties
access
Token
Link copied to clipboard
val
accessToken
:
MutableStateFlow
<
String
?
>
avatar
Url
Link copied to clipboard
val
avatarUrl
:
MutableStateFlow
<
String
?
>
background
Filter
Id
Link copied to clipboard
val
backgroundFilterId
:
MutableStateFlow
<
String
?
>
base
Url
Link copied to clipboard
val
baseUrl
:
MutableStateFlow
<
Url
?
>
device
Id
Link copied to clipboard
val
deviceId
:
MutableStateFlow
<
String
?
>
display
Name
Link copied to clipboard
val
displayName
:
MutableStateFlow
<
String
?
>
filter
Id
Link copied to clipboard
val
filterId
:
MutableStateFlow
<
String
?
>
olm
Pickle
Key
Link copied to clipboard
val
olmPickleKey
:
MutableStateFlow
<
String
?
>
sync
Batch
Token
Link copied to clipboard
val
syncBatchToken
:
MutableStateFlow
<
String
?
>
user
Id
Link copied to clipboard
val
userId
:
MutableStateFlow
<
UserId
?
>
Functions
clear
Cache
Link copied to clipboard
open
suspend override
fun
clearCache
(
)
Only deletes everything, that can be fetched from server.
delete
All
Link copied to clipboard
open
suspend override
fun
deleteAll
(
)
Deletes everything.
init
Link copied to clipboard
open
suspend override
fun
init
(
)