uploadAsset

abstract suspend fun uploadAsset(metadata: <Error class: unknown class>, encryptedDataSource: () -> <Error class: unknown class>, encryptedDataSize: Long): NetworkResponse<<Error class: unknown class>>

Uploads an already encrypted asset

Parameters

metadata

the metadata associated to the asset that wants to be uploaded

encryptedDataSource

the source of the encrypted data to be uploaded

encryptedDataSize

the size in bytes of the asset to be uploaded