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 |
|
copy
bucketInstance.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-08-28 12:01:44 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit