Package-level declarations
Types
Link copied to clipboard
@Serializable
Link copied to clipboard
class AccountStore(repository: AccountRepository, tm: RepositoryTransactionManager, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
class GlobalAccountDataStore(globalAccountDataRepository: GlobalAccountDataRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
data class KeyChainLink(val signingUserId: UserId, val signingKey: Key.Ed25519Key, val signedUserId: UserId, val signedKey: Key.Ed25519Key)
Link copied to clipboard
Link copied to clipboard
class KeyStore(outdatedKeysRepository: OutdatedKeysRepository, deviceKeysRepository: DeviceKeysRepository, crossSigningKeysRepository: CrossSigningKeysRepository, keyVerificationStateRepository: KeyVerificationStateRepository, keyChainLinkRepository: KeyChainLinkRepository, secretsRepository: SecretsRepository, secretKeyRequestRepository: SecretKeyRequestRepository, roomKeyRequestRepository: RoomKeyRequestRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
class MediaCacheMappingStore(mediaCacheMappingRepository: MediaCacheMappingRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
class OlmCryptoStore(olmAccountRepository: OlmAccountRepository, olmForgetFallbackKeyAfterRepository: OlmForgetFallbackKeyAfterRepository, olmSessionRepository: OlmSessionRepository, inboundMegolmSessionRepository: InboundMegolmSessionRepository, inboundMegolmMessageIndexRepository: InboundMegolmMessageIndexRepository, outboundMegolmSessionRepository: OutboundMegolmSessionRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
@Serializable
Link copied to clipboard
class RoomAccountDataStore(roomAccountDataRepository: RoomAccountDataRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
class RoomOutboxMessageStore(roomOutboxMessageRepository: RoomOutboxMessageRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
class RoomStateStore(roomStateRepository: RoomStateRepository, tm: RepositoryTransactionManager, contentMappings: EventContentSerializerMappings, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
class RoomStore(roomRepository: RoomRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
class RoomTimelineStore(timelineEventRepository: TimelineEventRepository, timelineEventRelationRepository: TimelineEventRelationRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
@Serializable
Link copied to clipboard
class RoomUserStore(roomUserRepository: RoomUserRepository, roomUserReceiptsRepository: RoomUserReceiptsRepository, tm: RepositoryTransactionManager, config: MatrixClientConfiguration, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
@Serializable
Link copied to clipboard
class ServerDataStore(repository: ServerDataRepository, tm: RepositoryTransactionManager, statisticCollector: ObservableCacheStatisticCollector, storeScope: CoroutineScope, clock: Clock) : Store
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
data class TimelineEvent(val event: ClientEvent.RoomEvent<*>, val content: Result<RoomEventContent>? = if (event.isEncrypted) null else Result.success(event.content), val previousEventId: EventId?, val nextEventId: EventId?, val gap: TimelineEvent.Gap?)
Link copied to clipboard
@Serializable
Link copied to clipboard
class TimelineEventSerializer(mappings: Set<EventContentSerializerMapping<out RoomEventContent>>, storeTimelineEventContentUnencrypted: Boolean) : KSerializer<TimelineEvent>
Link copied to clipboard
Link copied to clipboard
interface TransactionManager
Link copied to clipboard
class TransactionManagerImpl(repositoryTransactionManager: RepositoryTransactionManager) : TransactionManager
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns true, when this is the first event of the room (not including room upgrades).
Link copied to clipboard
Returns true, when this is the last known event of the room (not including room upgrades).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <C : GlobalAccountDataEventContent> GlobalAccountDataStore.get(key: String = ""): Flow<ClientEvent.GlobalAccountDataEvent<C>?>
inline fun <C : StateEventContent> RoomStateStore.get(roomId: RoomId): Flow<Map<String, Flow<ClientEvent.StateBaseEvent<C>?>>>
inline fun <C : RoomAccountDataEventContent> RoomAccountDataStore.get(roomId: RoomId, key: String = ""): Flow<ClientEvent.RoomAccountDataEvent<C>?>
Link copied to clipboard
inline suspend fun <C : StateEventContent> RoomStateStore.getByRooms(roomIds: Set<RoomId>, stateKey: String = ""): List<ClientEvent.StateBaseEvent<C>>
Link copied to clipboard
inline fun <C : StateEventContent> RoomStateStore.getByStateKey(roomId: RoomId, stateKey: String = ""): Flow<ClientEvent.StateBaseEvent<C>?>
Link copied to clipboard
inline fun <C : StateEventContent> RoomStateStore.getContentByStateKey(roomId: RoomId, stateKey: String = ""): Flow<C?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun RoomStateStore.membersCount(roomId: RoomId, membership: Membership, vararg moreMemberships: Membership): Long
Link copied to clipboard
suspend fun OlmCryptoStore.waitForInboundMegolmSession(roomId: RoomId, sessionId: String, firstKnownIndexLessThen: Long? = null, onNotExisting: suspend CoroutineScope.() -> Unit? = null)