RemoteMediaFetcher

fun interface RemoteMediaFetcher

Strategy for downloading the content of a RemoteMedia, used when the media storage materializes remote media into the output resources.

See also

for a default implementation that downloads content synchronously

Inheritors

Functions

Link copied to clipboard
abstract fun fetch(media: RemoteMedia): ByteArray

Downloads the content of media. Blocking call.