WaitForChanges Method
This method waits for changes to a folder for a specified period of time.
Syntax
public boolean waitForChanges(int timeout);
Remarks
This method waits for changes to be made to a folder for Timeout seconds.
This method returns True if changes were made and False if no changes were made. The method may return before Timeout expires if a change is made.
Valid values for Timeout are between 30 and 480.
Note: Dropbox may add up to 90 seconds of jitter to the connection, as a result the Timeout parameter may not strictly define the time to wait.