Better late than never, I'm trying to migrate my Android app to API v2. Currently, when downloading a file from a user's linked Dropbox account, I first obtain the file revision...
@Override
protected Boolean doInBackground(Void... params) {
try {
// Get Dropbox file revision
Entry metadata = mDbxApi.metadata(mPath+mFilename, 5, null, true, null);
String dbxFileRev = metadata.rev;
I'm struggling to workout how to do this in V2 because it seems I have to somehow use FileMetadata instead.
FileMetadata metadata = ?? mPath+mFilename ??
String dbxFileRev = metadata.getRev();
As you can guess, I'm a hobby developer and not a pro!
Many thanks,
M.