RoomStateRepository

Functions

Link copied to clipboard
abstract suspend fun delete(firstKey: RoomStateRepositoryKey, secondKey: String)
Link copied to clipboard
abstract suspend fun deleteAll()
Link copied to clipboard
abstract suspend fun deleteByRoomId(roomId: RoomId)
Link copied to clipboard
abstract suspend fun get(firstKey: RoomStateRepositoryKey): Map<String, ClientEvent.StateBaseEvent<*>>
abstract suspend fun get(firstKey: RoomStateRepositoryKey, secondKey: String): ClientEvent.StateBaseEvent<*>?
Link copied to clipboard
abstract suspend fun getByRooms(roomIds: Set<RoomId>, type: String, stateKey: String): List<ClientEvent.StateBaseEvent<*>>
Link copied to clipboard
abstract suspend fun save(firstKey: RoomStateRepositoryKey, secondKey: String, value: ClientEvent.StateBaseEvent<*>)
Link copied to clipboard
open override fun serializeKey(firstKey: RoomStateRepositoryKey, secondKey: String): String