trixnity-client
3.10.3
common
trixnity-client
/
net.folivo.trixnity.client.store.repository
/
RoomStateRepository
Room
State
Repository
interface
RoomStateRepository
:
MapDeleteByRoomIdRepository
<
RoomStateRepositoryKey
,
String
,
Event
<
*
>
>
Inheritors
InMemoryRoomStateRepository
Members
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
firstKey
:
RoomStateRepositoryKey
,
secondKey
:
String
)
delete
All
Link copied to clipboard
abstract
suspend
fun
deleteAll
(
)
delete
By
Room
Id
Link copied to clipboard
abstract
suspend
fun
deleteByRoomId
(
roomId
:
RoomId
)
get
Link copied to clipboard
abstract
suspend
fun
get
(
firstKey
:
RoomStateRepositoryKey
)
:
Map
<
String
,
Event
<
*
>
>
abstract
suspend
fun
get
(
firstKey
:
RoomStateRepositoryKey
,
secondKey
:
String
)
:
Event
<
*
>
?
save
Link copied to clipboard
abstract
suspend
fun
save
(
firstKey
:
RoomStateRepositoryKey
,
secondKey
:
String
,
value
:
Event
<
*
>
)
serialize
Key
Link copied to clipboard
open
override
fun
serializeKey
(
firstKey
:
RoomStateRepositoryKey
,
secondKey
:
String
)
:
String