Do you have an example in Java that selects recent adds/deletes to a dropbox folder do doesn't require polling?
The examples that I pulled from Github do contain one that uses a loop that continuously polls to find recent updates. I have written a solution using webhooks. I would prefer not to have to poll whether in a separate thread or not. I have used the ListFolderGetLatestCursorBuilder and ListFolderGetLatestCursorResult, followed by issuing a DbxClientV2.files.listFolderContinue() without success. I find that ListFolderGetLatestCursorResult initially returns all entries regardless of whether they are recently changed or not.
The only way I see to pick out the recent updates is to use the FileMetaData.getClientModified to get the timestamp of when the file was added. I see that the API warns against using it for this purpose, but I see no other recourse at this time, without having to poll.