trixnity-client
3.10.3
common
trixnity-client
/
net.folivo.trixnity.client.store.repository
/
InMemoryMediaCacheMappingRepository
In
Memory
Media
Cache
Mapping
Repository
class
InMemoryMediaCacheMappingRepository
:
InMemoryMinimalRepository
<
String
,
MediaCacheMapping
>
,
MediaCacheMappingRepository
Members
Constructors
In
Memory
Media
Cache
Mapping
Repository
Link copied to clipboard
constructor
(
)
Properties
content
Link copied to clipboard
val
content
:
MutableStateFlow
<
Map
<
String
,
MediaCacheMapping
>
>
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
key
:
String
)
delete
All
Link copied to clipboard
abstract
suspend
fun
deleteAll
(
)
get
Link copied to clipboard
abstract
suspend
fun
get
(
key
:
String
)
:
MediaCacheMapping
?
save
Link copied to clipboard
abstract
suspend
fun
save
(
key
:
String
,
value
:
MediaCacheMapping
)
serialize
Key
Link copied to clipboard
open
override
fun
serializeKey
(
key
:
String
)
:
String