1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // VLCCloudStorageController.h
- // VLC for iOS
- //
- // Created by Carola Nitz on 31/12/14.
- // Copyright (c) 2014 VideoLAN. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @protocol VLCCloudStorageDelegate <NSObject>
- @required
- - (void)mediaListUpdated;
- @optional
- - (void)operationWithProgressInformationStarted;
- - (void)currentProgressInformation:(CGFloat)progress;
- - (void)updateRemainingTime:(NSString *)time;
- - (void)operationWithProgressInformationStopped;
- - (void)numberOfFilesWaitingToBeDownloadedChanged;
- - (void)sessionWasUpdated;
- @end
- @interface VLCCloudStorageController : NSObject
- @property (nonatomic, weak) id<VLCCloudStorageDelegate> delegate;
- @property (nonatomic, readwrite) BOOL isAuthorized;
- @property (nonatomic, readonly) NSArray *currentListFiles;
- + (instancetype)sharedInstance;
- - (void)startSession;
- - (void)logout;
- - (void)requestDirectoryListingAtPath:(NSString *)path;
- @end
|