Download an Object
This SDK method will allow you to download the object.
Parameters Used
Parameter Name | Data Type | Definition |
---|---|---|
versionId | String | An optional parameter. Will hold the unique version ID of the required object's version. |
fromCache | Boolean |
|
copybucketInstance.getObject("SunSet.jpeg", "2823000000044005", //Replace this with your Object Name and Object ID { object -> object.download( { println("File download success ${it.available()}") }, { println("File download failed $it") } ) }
Last Updated 2025-07-08 19:37:39 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit