/***************************************************************************** * VLCDropboxController.h * VLC for iOS ***************************************************************************** * Copyright (c) 2013 VideoLAN. All rights reserved. * $Id$ * * Authors: Felix Paul Kühne * * Refer to the COPYING file of the official project for license. *****************************************************************************/ #import @protocol VLCDropboxController @required - (void)mediaListUpdated; @optional - (void)operationWithProgressInformationStarted; - (void)currentProgressInformation:(float)progress; - (void)updateRemainingTime:(NSString *)time; - (void)operationWithProgressInformationStopped; - (void)numberOfFilesWaitingToBeDownloadedChanged; @end @interface VLCDropboxController : NSObject @property (nonatomic, retain) id delegate; @property (nonatomic, readonly) NSArray *currentListFiles; @property (nonatomic, readonly) BOOL sessionIsLinked; @property (nonatomic, readonly) NSInteger numberOfFilesWaitingToBeDownloaded; - (void)startSession; - (void)logout; - (void)requestDirectoryListingAtPath:(NSString *)path; - (void)downloadFileToDocumentFolder:(DBMetadata *)file; - (void)streamFile:(DBMetadata *)file; @end