GlobalAccountDataStore
class GlobalAccountDataStore(globalAccountDataRepository: GlobalAccountDataRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Constructors
Link copied to clipboard
constructor(globalAccountDataRepository: GlobalAccountDataRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock)
Functions
Link copied to clipboard
Only deletes everything, that can be fetched from server.
Link copied to clipboard
fun <C : GlobalAccountDataEventContent> get(eventContentClass: KClass<C>, key: String = ""): Flow<ClientEvent.GlobalAccountDataEvent<C>?>
Link copied to clipboard
inline fun <C : GlobalAccountDataEventContent> GlobalAccountDataStore.get(key: String = ""): Flow<ClientEvent.GlobalAccountDataEvent<C>?>
Link copied to clipboard