FileLoader

fun interface FileLoader(source)

Loads the bytes behind a file URL for attachment previews (data: URLs are decoded without it). Replace it to use your app's HTTP stack, cache or authentication.

Functions

Link copied to clipboard
abstract suspend fun load(url: String): ByteArray?