StickyEventStore
class StickyEventStore(stickyEventRepository: StickyEventRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Constructors
Link copied to clipboard
constructor(stickyEventRepository: StickyEventRepository, 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
Link copied to clipboard
Link copied to clipboard
inline fun <C : StickyEventContent> StickyEventStore.get(roomId: RoomId): Flow<Map<Pair<UserId, String?>, Flow<StoredStickyEvent<C>?>>>
Link copied to clipboard
fun <C : StickyEventContent> getBySenderAndStickyKey(roomId: RoomId, eventContentClass: KClass<C>, sender: UserId, stickyKey: String?): Flow<StoredStickyEvent<C>?>
Link copied to clipboard
inline fun <C : StickyEventContent> StickyEventStore.getBySenderAndStickyKey(roomId: RoomId, sender: UserId, stateKey: String? = null): Flow<StoredStickyEvent<C>?>
Link copied to clipboard