downloadFile
expect abstract fun downloadFile(channel: String, fileName: String, fileId: String, cipherKey: String? = null): DownloadFile
actual abstract fun downloadFile(channel: String, fileName: String, fileId: String, cipherKey: String?): DownloadFile
Download file from specified Channel.
Parameters
channel
Name of channel to which the file has been uploaded.
fileName
Name under which the uploaded file is stored.
fileId
Unique identifier for the file, assigned during upload.
cipherKey
Key to be used to decrypt downloaded data. If a key is not provided, the SDK uses the cipherKey from the @see PNConfiguration.
actual abstract fun downloadFile(channel: String, fileName: String, fileId: String, cipherKey: String?): DownloadFile