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
Fischer Peter
4 years agoExplorer | Level 3
Dropbox Api V2 Callback: Which import call is used
Hallo,
I want to use DBClientV2 callback. Which one do I need to import? Android Studios shows many callbacks, but none of them seems to be the right one for me.
import com.dropbox.core.DbxException;
import com.dropbox.core.v2.DbxClientV2;
import com.dropbox.core.v2.files.FileMetadata;
private final Callback mCallback; <--- this call I want to use
private Exception mException;
Danke
FP
It looks like you're referring to some of the code included in the Android example for the official Dropbox API v2 Java SDK. I recommend running that example as provided and documented first, if you haven't already, to see how that works.
To answer your question specifically though, the "Callback" in "private final Callback mCallback", such as here, is defined as an interface, such as here.
- Greg-DBDropbox Staff
It looks like you're referring to some of the code included in the Android example for the official Dropbox API v2 Java SDK. I recommend running that example as provided and documented first, if you haven't already, to see how that works.
To answer your question specifically though, the "Callback" in "private final Callback mCallback", such as here, is defined as an interface, such as here.
- Fischer PeterExplorer | Level 3
Thanks,
Didn't see that.
FP
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,902 PostsLatest Activity: 8 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!