ios - Dropbox Core API, notification if a file has been added to a folder -


i have app creates tickets putting file in dropbox folder. based on ticket file added (dropbox) folder. use dropbox core api.

now, have refresh folder manually see if new file has been added. searching method notified when folder changed (a file has been added) haven't found it. guess longpoll_delta can job isn't available in ios api.

is there method in objective-c?

i retrieve data following way:

- (void) refreshtable {     [self.restclient loadmetadata:@"path"]; }  - (void)restclient:(dbrestclient *)client loadedmetadata:(dbmetadata *)metadata {      (dbmetadata * child in metadata.contents) {         if (!child.isdirectory && !child.isdeleted) {             nslog(@"filename: %@", child.filename);         }     } } 

any ideas?

the new dropbox api v2 has function this:

[[[dropboxclient.filesroutes listfolderlongpoll:cursor] setresponseblock:...]; 

cursor parameter returned listfolder or listfoldercontinue.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -