fetchPrivateDecodedAsset

open suspend override fun fetchPrivateDecodedAsset(assetId: String, assetDomain: String?, assetName: String, mimeType: String?, assetToken: String?, encryptionKey: <Error class: unknown class>, assetSHA256Key: <Error class: unknown class>, downloadIfNeeded: Boolean): Either<CoreFailure, <Error class: unknown class>>

Method used to fetch the Path of a decoded private asset

Return

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

Parameters

assetId

the asset identifier

assetName

the name of the original asset

assetToken

the asset token used to provide an extra layer of asset/user authentication

encryptionKey

the asset encryption key used to decrypt an extra layer of asset/user authentication

downloadIfNeeded

flag determining whether it should make a request do download an asset if it's not available locally