#import <ThingEncryptWebImagePrefetcher.h>
◆ cancelPrefetching [1/4]
- (void) cancelPrefetching |
|
|
|
Remove and cancel all the prefeching for the prefetcher.
◆ cancelPrefetching [2/4]
- (void) cancelPrefetching |
|
|
|
Remove and cancel all the prefeching for the prefetcher.
◆ cancelPrefetching [3/4]
- (void) cancelPrefetching |
|
|
|
Remove and cancel all the prefeching for the prefetcher.
◆ cancelPrefetching [4/4]
- (void) cancelPrefetching |
|
|
|
Remove and cancel all the prefeching for the prefetcher.
◆ initWithImageManager: [1/4]
Allows you to instantiate a prefetcher with any arbitrary image manager.
◆ initWithImageManager: [2/4]
Allows you to instantiate a prefetcher with any arbitrary image manager.
◆ initWithImageManager: [3/4]
Allows you to instantiate a prefetcher with any arbitrary image manager.
◆ initWithImageManager: [4/4]
Allows you to instantiate a prefetcher with any arbitrary image manager.
◆ prefetchURLs: [1/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs: [2/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs: [3/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs: [4/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs:progress:completed: [1/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
progressBlock | block to be called when progress updates; first parameter is the number of completed (successful or not) requests, second parameter is the total number of images originally requested to be prefetched |
completionBlock | block to be called when the current prefetching is completed first param is the number of completed (successful or not) requests, second parameter is the number of skipped requests |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs:progress:completed: [2/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
progressBlock | block to be called when progress updates; first parameter is the number of completed (successful or not) requests, second parameter is the total number of images originally requested to be prefetched |
completionBlock | block to be called when the current prefetching is completed first param is the number of completed (successful or not) requests, second parameter is the number of skipped requests |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs:progress:completed: [3/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
progressBlock | block to be called when progress updates; first parameter is the number of completed (successful or not) requests, second parameter is the total number of images originally requested to be prefetched |
completionBlock | block to be called when the current prefetching is completed first param is the number of completed (successful or not) requests, second parameter is the number of skipped requests |
- Returns
- the token to cancel the current prefetching.
◆ prefetchURLs:progress:completed: [4/4]
Assign list of URLs to let ThingEncryptWebImagePrefetcher to queue the prefetching. It based on the image manager so the image may from the cache and network according to the options
property. Prefetching is separate to each other, which means the progressBlock and completionBlock you provide is bind to the prefetching for the list of urls. Attention that call this will not cancel previous fetched urls. You should keep the token return by this to cancel or cancel all the prefetch.
- Parameters
-
urls | list of URLs to prefetch |
progressBlock | block to be called when progress updates; first parameter is the number of completed (successful or not) requests, second parameter is the total number of images originally requested to be prefetched |
completionBlock | block to be called when the current prefetching is completed first param is the number of completed (successful or not) requests, second parameter is the number of skipped requests |
- Returns
- the token to cancel the current prefetching.
◆ delegate
◆ delegateQueue
- (dispatch_queue_t) delegateQueue |
|
readwritenonatomicstrong |
Queue options for prefetcher when call the progressBlock, completionBlock and delegate methods. Defaults to Main Queue.
- Note
- The call is asynchronously to avoid blocking target queue.
-
The delegate queue should be set before any prefetching start and may not be changed during prefetching to avoid thread-safe problem.
Definition at line 78 of file ThingEncryptWebImagePrefetcher.h.
◆ manager
The web image manager used by prefetcher to prefetch images.
- Note
- You can specify a standalone manager with custom configuration suitable for image prefetching.
Definition at line 66 of file ThingEncryptWebImagePrefetcher.h.
◆ maxConcurrentPrefetchCount
- (NSUInteger) maxConcurrentPrefetchCount |
|
readwritenonatomicassign |
◆ sharedImagePrefetcher
Returns the global shared image prefetcher instance. It use a standalone manager which is different from shared manager.
Definition at line 88 of file ThingEncryptWebImagePrefetcher.h.
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_i386_x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptWebImagePrefetcher.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptWebImagePrefetcher.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-arm64/ThingEncryptImage.framework/Headers/ThingEncryptWebImagePrefetcher.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_arm64_32_armv7k/ThingEncryptImage.framework/Headers/ThingEncryptWebImagePrefetcher.h