AccountStore

class AccountStore(repository: AccountRepository, tm: TransactionManager, storeScope: CoroutineScope) : Store

Constructors

Link copied to clipboard
constructor(repository: AccountRepository, tm: TransactionManager, storeScope: CoroutineScope)

Properties

Link copied to clipboard
val accessToken: MutableStateFlow<String?>
Link copied to clipboard
val avatarUrl: MutableStateFlow<String?>
Link copied to clipboard
val backgroundFilterId: MutableStateFlow<String?>
Link copied to clipboard
val baseUrl: MutableStateFlow<Url?>
Link copied to clipboard
val deviceId: MutableStateFlow<String?>
Link copied to clipboard
val displayName: MutableStateFlow<String?>
Link copied to clipboard
val filterId: MutableStateFlow<String?>
Link copied to clipboard
val olmPickleKey: MutableStateFlow<String?>
Link copied to clipboard
val syncBatchToken: MutableStateFlow<String?>
Link copied to clipboard
val userId: MutableStateFlow<UserId?>

Functions

Link copied to clipboard
open suspend override fun clearCache()

Only deletes everything, that can be fetched from server.

Link copied to clipboard
open suspend override fun deleteAll()

Deletes everything.

Link copied to clipboard
open suspend override fun init()