cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to know the progress of deleteBatch:

How to know the progress of deleteBatch:

Nue
Helpful | Level 6
Go to solution

I want to know the progress of deleteBatch: in Objective-C API.

 

The process periodically calls deleteBatchCheck: and waits for deleteBatch: to finish.

If I delete a lot of files, the wait time is quite long. So I want to know the progress.

 

I tried using setProgressBlock :, but it returns 100% immediately after calling deleteBatch :.

Is there a good way to know the progress of deleteBatch :?

 

Thank you.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

Unfortunately, the API doesn't offer a way to get the progress of a deleteBatch job like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

 

(The setProgressBlock method is only referring to the network request itself, not the actual asynchronous job occurring on the Dropbox servers.)

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

Unfortunately, the API doesn't offer a way to get the progress of a deleteBatch job like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

 

(The setProgressBlock method is only referring to the network request itself, not the actual asynchronous job occurring on the Dropbox servers.)

Nue
Helpful | Level 6
Go to solution

Thank you for your reply.


I understand that there is currently no good way.

And I hope that a solution will be provided.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Nue Helpful | Level 6
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?