trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-client
/
de.connect2x.trixnity.client.store.repository
/
InMemoryOlmSessionRepository
In
Memory
Olm
Session
Repository
class
InMemoryOlmSessionRepository
:
OlmSessionRepository
,
InMemoryFullRepository
<
KeyValue.Curve25519KeyValue
,
Set
<
StoredOlmSession
>
>
Members
Constructors
In
Memory
Olm
Session
Repository
Link copied to clipboard
constructor
(
)
Properties
content
Link copied to clipboard
val
content
:
MutableStateFlow
<
Map
<
KeyValue.Curve25519KeyValue
,
Set
<
StoredOlmSession
>
>
>
Functions
delete
Link copied to clipboard
open
suspend
fun
delete
(
key
:
KeyValue.Curve25519KeyValue
)
delete
All
Link copied to clipboard
open
suspend
fun
deleteAll
(
)
get
Link copied to clipboard
open
suspend
fun
get
(
key
:
KeyValue.Curve25519KeyValue
)
:
Set
<
StoredOlmSession
>
?
get
All
Link copied to clipboard
open
suspend
fun
getAll
(
)
:
List
<
Set
<
StoredOlmSession
>
>
save
Link copied to clipboard
open
suspend
fun
save
(
key
:
KeyValue.Curve25519KeyValue
,
value
:
Set
<
StoredOlmSession
>
)
serialize
Key
Link copied to clipboard
open
override
fun
serializeKey
(
key
:
KeyValue.Curve25519KeyValue
)
:
String