uploadAndPersistPublicAsset
abstract suspend fun uploadAndPersistPublicAsset(mimeType: String, assetDataPath: <Error class: unknown class>, assetDataSize: Long): Either<CoreFailure, <Error class: unknown class>>
Method used to upload and persist to local memory a public asset
Return
Either a CoreFailure if anything went wrong, or the UploadedAssetId of the asset if successful
Parameters
mimeType
type of the asset to be uploaded
assetDataPath
the path of the unencrypted data to be uploaded
assetDataSize
the size of the unencrypted data to be uploaded