MediaStore

interface MediaStore : Store

Inheritors

Functions

Link copied to clipboard
abstract suspend fun addMedia(url: String, content: ByteArrayFlow)
Link copied to clipboard
abstract suspend fun changeMediaUrl(oldUrl: String, newUrl: String)
Link copied to clipboard
abstract suspend fun clearCache()

Only deletes everything, that can be fetched from server.

Link copied to clipboard
abstract suspend fun deleteAll()

Deletes everything.

Link copied to clipboard
abstract suspend fun deleteMedia(url: String)
Link copied to clipboard
abstract suspend fun getMedia(url: String): ByteArrayFlow?
Link copied to clipboard
open suspend fun init()