VLCDropboxController.h 849 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // VLCDropboxController.h
  3. // VLC for iOS
  4. //
  5. // Created by Felix Paul Kühne on 23.05.13.
  6. // Copyright (c) 2013 VideoLAN. All rights reserved.
  7. //
  8. #import <DropboxSDK/DropboxSDK.h>
  9. @protocol VLCDropboxController
  10. @required
  11. - (void)mediaListUpdated;
  12. @optional
  13. - (void)operationWithProgressInformationStarted;
  14. - (void)currentProgressInformation:(float)progress;
  15. - (void)operationWithProgressInformationStopped;
  16. @end
  17. @interface VLCDropboxController : NSObject <DBRestClientDelegate, DBSessionDelegate, DBNetworkRequestDelegate>
  18. @property (nonatomic, retain) id delegate;
  19. @property (nonatomic, readonly) NSArray *currentListFiles;
  20. @property (nonatomic, readonly) BOOL sessionIsLinked;
  21. - (void)startSession;
  22. - (void)logout;
  23. - (void)requestDirectoryListingAtPath:(NSString *)path;
  24. - (void)downloadFileToDocumentFolder:(DBMetadata *)file;
  25. @end