The Telerik Platform product is retired.Learn more

Deleting Files

Deleting Files

The Backend Services Android SDK provides methods for deleting single and multiple files based on an ID or a filter expression.

Single file

To delete a file by Id, you have to execute the following code snippet:

public void deleteFileById(EverliveApp app, UUID fileId) {

Multiple files

To delete multiple files you have to execute following code snippet:

public void deleteMultipleFiles(EverliveApp app, Date date) {
    where(new ValueCondition("CreatedAt", date, ValueConditionOperator.GreaterThan).

Be aware that using delete method without a filtering condition will delete all files!

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.