AccountReady (Success As Boolean) SyncCompleted (Success As Boolean) DownloadCompleted (Success As Boolean, LocalDir As String, LocalFileName As String)
Downloads a file. If the file is not already in the cache then it will be automatically downloaded. The DownloadComplete event will be raised when the local file is ready. RemoteDir / RemoteFile - Remote path. The root folder (which is the app folder) is "/". LocalDir / LocalFile - The local file.
Initializes the object. AppKey - The app key from Dropbox developer console. AppSecret - The app secret from Dropbox developer console. EventName - Sets the subs that will handle the events.
LinkAccount
Links the application with the user's Dropbox account. If the account was not linked before then the user will be shown an authentication form. The AccountReady event will be raised when the account is ready.
ListFiles (DirAsString) AsList
Returns a List with the infos of the files and folders under the given path. Each item in the list is a DbxFileInfo object.
Sync
Forces a check for new file info from the server. The SyncCompleted event will be raised when the sync is completed.
UnlinkAccount
Unlinks the application from the user's Dropbox account.
Writes a file to the local Dropbox cache. The file will be automatically uploaded to the Dropbox account. LocalDir / LocalFile - Path to the local file. RemoteDir / RemoteFile - Remote path. The root folder (which is the app folder) is "/".