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.media
/
CachedMediaStore
Cached
Media
Store
abstract
class
CachedMediaStore
(
coroutineScope
:
CoroutineScope
,
config
:
MatrixClientConfiguration
,
clock
:
Clock
)
:
MediaStore
Members
Constructors
Cached
Media
Store
Link copied to clipboard
constructor
(
coroutineScope
:
CoroutineScope
,
config
:
MatrixClientConfiguration
,
clock
:
Clock
)
Functions
add
Media
Link copied to clipboard
abstract
suspend
fun
addMedia
(
url
:
String
,
content
:
ByteArrayFlow
)
change
Media
Url
Link copied to clipboard
abstract
suspend
fun
changeMediaUrl
(
oldUrl
:
String
,
newUrl
:
String
)
clear
Cache
Link copied to clipboard
suspend override
fun
clearCache
(
)
Only deletes everything, that can be fetched from server.
delete
All
Link copied to clipboard
suspend override
fun
deleteAll
(
)
Deletes everything.
delete
All
From
Store
Link copied to clipboard
abstract
suspend
fun
deleteAllFromStore
(
)
delete
Media
Link copied to clipboard
abstract
suspend
fun
deleteMedia
(
url
:
String
)
get
Media
Link copied to clipboard
abstract
suspend
fun
getMedia
(
url
:
String
)
:
PlatformMedia
?
init
Link copied to clipboard
open
suspend
fun
init
(
coroutineScope
:
CoroutineScope
)