RoomAccountDataStore
class RoomAccountDataStore(roomAccountDataRepository: RoomAccountDataRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Constructors
Link copied to clipboard
constructor(roomAccountDataRepository: RoomAccountDataRepository, 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
Link copied to clipboard
fun <C : RoomAccountDataEventContent> get(roomId: RoomId, eventContentClass: KClass<C>, key: String = ""): Flow<ClientEvent.RoomAccountDataEvent<C>?>
Link copied to clipboard
inline fun <C : RoomAccountDataEventContent> RoomAccountDataStore.get(roomId: RoomId, key: String = ""): Flow<ClientEvent.RoomAccountDataEvent<C>?>
Link copied to clipboard