LCFileDownloadOption
Objective-C
NS_OPTIONS(NSUInteger, LCFileDownloadOption) {
/// default option. When start downloading, if cached file exist, then return the cached file directly; else downloading from URL.
LCFileDownloadOptionCachedData = 0,
/// Always downloading from URL.
LCFileDownloadOptionIgnoringCachedData = 1 << 0
}
Swift
struct LCFileDownloadOption : OptionSet, @unchecked Sendable
Undocumented
-
default option. When start downloading, if cached file exist, then return the cached file directly; else downloading from URL.
Declaration
Objective-C
LCFileDownloadOptionCachedData = 0
-
Always downloading from URL.
Declaration
Objective-C
LCFileDownloadOptionIgnoringCachedData = 1 << 0
Swift
static var ignoringCachedData: LCFileDownloadOption { get }