downloadPublicAsset

abstract suspend fun downloadPublicAsset(assetId: String, assetDomain: String?): Either<CoreFailure, <Error class: unknown class>>

Method used to download and persist to local memory a public asset

Return

Either a CoreFailure if anything went wrong, or the Path of the decoded asset

Parameters

assetId

the asset identifier