Download Object
The following SDK methods will allow you to download the object.
Download an Object (Completion Callback)
This SDK method will allow you to download the object, without any progress indicators.
Parameters Used
Parameter Name | Definition |
---|---|
fromCache |
|
copyobjectInstance.download( fromCache : true ) { result in switch result { case .success( let url ) : do { let data = Data(contentsOf : url) DispatchQueue.main.sync { self.imageView.image = UIImage(date: data) } } catch { print("Error : \( error )") } case .error( let error ) : print("Error : \( error )") } }
Download an Object (With Progress)
This SDK method will allow you to download the object with progress indicators.
Parameters Used
Parameter Name | Definition |
---|---|
fromCache |
|
fileRefId | A unique ID to refer to the file that is being uploaded. |
fileUploadDelegate | This is a protocol that needs to be confirmed. the Upload delegate object is essential to track the status of the object upload. |
copyobjectInstance.download( fromCache : true, fileRefId : "{file_ref_id}", fileDownloadDelegate : self )
Last Updated 2025-07-08 15:25:59 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit