fetch

open override fun fetch(media: RemoteMedia): ByteArray

Downloads the content of media. Blocking call.

Return

the raw bytes of the downloaded content

Parameters

media

the remote media to fetch

Throws

if the content cannot be retrieved