FWPlayerCacheDownloader
@interface FWPlayerCacheDownloader : NSObject
- (instancetype)initWithURL:(NSURL *)url cacheWorker:(FWPlayerCacheWorker *)cacheWorker;
@property (nonatomic, strong, readonly) NSURL *url;
@property (nonatomic, weak) id<FWPlayerCacheDownloaderDelegate> delegate;
@property (nonatomic, strong) FWPlayerCacheContentInfo *info;
@property (nonatomic, assign) BOOL saveToCache;
- (void)downloadTaskFromOffset:(unsigned long long)fromOffset
length:(NSUInteger)length
toEnd:(BOOL)toEnd;
- (void)downloadFromStartToEnd;
- (void)cancel;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithURL:(NSURL *)url cacheWorker:(FWPlayerCacheWorker *)cacheWorker;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSURL *url
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id<FWPlayerCacheDownloaderDelegate> delegate
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) FWPlayerCacheContentInfo *info
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL saveToCache
-
Undocumented
Declaration
Objective-C
- (void)downloadTaskFromOffset:(unsigned long long)fromOffset length:(NSUInteger)length toEnd:(BOOL)toEnd;
-
Undocumented
Declaration
Objective-C
- (void)downloadFromStartToEnd;
-
Undocumented
Declaration
Objective-C
- (void)cancel;