You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Eric J.12
9 years agoExplorer | Level 4
Abort call to listFolderLongpoll() in Java SDK
Hi, I was wondering if there is a way to abort a call to the /list_folder/longpoll endpoint in Java. I was using this method in DbxUserFilesRequests:
listFolderLongpoll(String cursor)
The issues is that I have a thread that calls this method, but when this thread is interrupted, I want to abort this poll, and have the new thread start polling for changes in the same location. Currently, I'm working around this by making a closeable HTTP call to the endpoint, but I am wondering if you plan to add this kind of functionality to the Java SDK or if it already exists. Thank you.
- No, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request.
- Greg-DBDropbox StaffNo, unfortunately that's not built in to the SDK, but I'll be sure to pass this along as a feature request.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 5 hours agoIf 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 or Facebook.
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!