RoomStateDao

interface RoomStateDao

Inheritors

Functions

Link copied to clipboard
abstract suspend fun delete(roomId: RoomId)
abstract suspend fun delete(roomId: RoomId, type: String)
abstract suspend fun delete(roomId: RoomId, type: String, stateKey: String)
Link copied to clipboard
abstract suspend fun deleteAll()
Link copied to clipboard
abstract suspend fun get(roomId: RoomId, type: String): List<RoomRoomState>
abstract suspend fun get(roomId: RoomId, type: String, stateKey: String): RoomRoomState?
abstract suspend fun get(roomIds: Set<RoomId>, type: String, stateKey: String): List<RoomRoomState>
Link copied to clipboard
abstract suspend fun insert(entity: RoomRoomState)
Link copied to clipboard
abstract suspend fun insertAll(entities: List<RoomRoomState>)