Media Service
Functions
Link copied to clipboard
Clear the cache of all retrieved UrlPreview data.
Link copied to clipboard
Extract URLs from a TimelineEvent.
Link copied to clipboard
abstract suspend fun getPreviewUrl( url: String, timestamp: Long?, cacheStrategy: CacheStrategy): PreviewUrlData
Content copied to clipboard
Get Url Preview data from the homeserver, or from cache, depending on the cache strategy.
Link copied to clipboard
abstract suspend fun getRawPreviewUrl(url: String, timestamp: Long?): JsonDict
Content copied to clipboard
Get Raw Url Preview data from the homeserver. There is no cache management for this request