We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ShinehahGnolaum
8 years agoHelpful | Level 7
How do I know when there has been a change in the user's Dropbox account?
How do I know when there has been a change in the user's Dropbox account made from outside of the current iOS device such as a new file created? I also need to know if the user logged out, or if a d...
ShinehahGnolaum
8 years agoHelpful | Level 7
How do I tell from the result I get in the closure I pass to the response method what the changes are? In the closure for the response method I set for listFolder, .entries is thel list of all the current files and folders. What would entries be for the response of the listFolderContinue methods? Would .entries also be the list of current files and folders, or do I get specific information like what had been added and what had been deleted since my last query?
Greg-DB
Dropbox Community Moderator
8 years agoAccessing the ListFolderResult.entries as returned by listFolder is the right way to begin listing the contents of a folder. Note that it is not guaranteed to return all of the results though. The interface is paginated, so you may need to call back to listFolderContinue to get more entries. (It also returns a ListFolderResult.)
Likewise, you can later call back to listFolderContinue again to get any further changes. It will return only things that have changed since your previous call, based on the passed cursor. Please refer to the listFolder documentation for information on how to use these.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!