interface AssetFetcher
fetchAsset
(
url
, outFile
, onSuccess
, onError
)
|
Fetches the asset at the given url and downloads it to the given file path
Signature
abstract fun fetchAsset(url: Uri, outFile: File, onSuccess: () -> Unit, onError: (Exception) -> Unit) Parameters url: UrioutFile: FileonSuccess: Function0onError: Function1 |