Learn how to store and access files with QuickBlox file storage.
Basic | Startup | Growth | HIPAA | Enterprise | |
---|---|---|---|---|---|
File size limit | 10 Mb | 25 Mb | 50Mb | 50Mb | Contact our sales team |
tUpdateFile(with:file:)
method below. Set the isNew
field as true
if you want to update a file.
Argument | Required | Description |
---|---|---|
newImageData | Yes | A new file in NSData format. |
existingBlob | Yes | A previously obtained blob witha file that needs to be updated. |
Argument | Required | Description |
---|---|---|
fileId | yes | ID of the file/blob. |
successBlock | yes | Specifies a response block that is called if the request is succeeded. As a result, the response will contain a blob/file description model. |
errorBlock | yes | Specifies a response block that is called in case an error is occurred. |
Argument | Required | Description |
---|---|---|
fileUID | yes | File unique identifier. Type String |
Argument | Required | Description |
---|---|---|
fileUID | yes | File unique identifier. Type String |
deleteBlob()
method.
Argument | Required | Description |
---|---|---|
fileId | yes | ID of the file/blob. |
successBlock | yes | Specifies a response block that is called if the request is succeeded. |
errorBlock | yes | Specifies a response block that is called in case an error is occurred. |