Add some doc
This commit is contained in:
parent
e343bdfb42
commit
2eee009392
|
@ -13,9 +13,24 @@
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying.
|
||||||
|
* This flag disable this blacklisting.
|
||||||
|
*/
|
||||||
SDWebImageRetryFailed = 1 << 0,
|
SDWebImageRetryFailed = 1 << 0,
|
||||||
|
/**
|
||||||
|
* By default, image downloads are started during UI interactions, this flags disable this feature,
|
||||||
|
* leading to delayed download on UIScrollView deceleration for instance.
|
||||||
|
*/
|
||||||
SDWebImageLowPriority = 1 << 1,
|
SDWebImageLowPriority = 1 << 1,
|
||||||
|
/**
|
||||||
|
* This flag disables on-disk caching
|
||||||
|
*/
|
||||||
SDWebImageCacheMemoryOnly = 1 << 2,
|
SDWebImageCacheMemoryOnly = 1 << 2,
|
||||||
|
/**
|
||||||
|
* This flag enables progressive download, the image is displayed progressively during download as a browser would do.
|
||||||
|
* By default, the image is only displayed once completely downloaded.
|
||||||
|
*/
|
||||||
SDWebImageProgressiveDownload = 1 << 3
|
SDWebImageProgressiveDownload = 1 << 3
|
||||||
} SDWebImageOptions;
|
} SDWebImageOptions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue