#import <ThingEncryptWebImageManager.h>
◆ cacheKeyFilter [1/3]
- (NSString *(^)) cacheKeyFilter |
|
(NSURL *) |
url |
|
A block which will be invoked for each image operation. Default is nil.
Use this block to provide a custom image cache key for a specified URL.
◆ cacheKeyFilter [2/3]
- (NSString *(^)) cacheKeyFilter |
|
(NSURL *) |
url |
|
A block which will be invoked for each image operation. Default is nil.
Use this block to provide a custom image cache key for a specified URL.
◆ cacheKeyFilter [3/3]
- (NSString *(^)) cacheKeyFilter |
|
(NSURL *) |
url |
|
A block which will be invoked for each image operation. Default is nil.
Use this block to provide a custom image cache key for a specified URL.
◆ cacheKeyForURL: [1/4]
- (NSString *) cacheKeyForURL: |
|
(NSURL *) |
url |
|
◆ cacheKeyForURL: [2/4]
- (NSString *) cacheKeyForURL: |
|
(NSURL *) |
url |
|
◆ cacheKeyForURL: [3/4]
- (NSString *) cacheKeyForURL: |
|
(NSURL *) |
url |
|
◆ cacheKeyForURL: [4/4]
- (NSString *) cacheKeyForURL: |
|
(NSURL *) |
url |
|
◆ clearAllCache [1/4]
◆ clearAllCache [2/4]
◆ clearAllCache [3/4]
◆ clearAllCache [4/4]
◆ headersFilter [1/3]
- (NSDictionary< NSString *, NSString * > *(^)) headersFilter |
|
(NSURL *) |
url |
|
|
(NSDictionary< NSString *, NSString * > *_Nullable) |
header |
|
|
| |
A block which will be invoked for each image HTTP request to do additional HTTP header process. Default is nil.
Use this block to add or remove HTTP header field for a specified URL.
◆ headersFilter [2/3]
- (NSDictionary< NSString *, NSString * > *(^)) headersFilter |
|
(NSURL *) |
url |
|
|
(NSDictionary< NSString *, NSString * > *_Nullable) |
header |
|
|
| |
A block which will be invoked for each image HTTP request to do additional HTTP header process. Default is nil.
Use this block to add or remove HTTP header field for a specified URL.
◆ headersFilter [3/3]
- (NSDictionary< NSString *, NSString * > *(^)) headersFilter |
|
(NSURL *) |
url |
|
|
(NSDictionary< NSString *, NSString * > *_Nullable) |
header |
|
|
| |
A block which will be invoked for each image HTTP request to do additional HTTP header process. Default is nil.
Use this block to add or remove HTTP header field for a specified URL.
◆ initWithCache:queue: [1/4]
Creates a manager with an image cache and operation queue.
- Parameters
-
cache | Image cache used by manager (pass nil to avoid image cache). |
- Returns
- A new manager.
◆ initWithCache:queue: [2/4]
Creates a manager with an image cache and operation queue.
- Parameters
-
cache | Image cache used by manager (pass nil to avoid image cache). |
- Returns
- A new manager.
◆ initWithCache:queue: [3/4]
Creates a manager with an image cache and operation queue.
- Parameters
-
cache | Image cache used by manager (pass nil to avoid image cache). |
- Returns
- A new manager.
◆ initWithCache:queue: [4/4]
Creates a manager with an image cache and operation queue.
- Parameters
-
cache | Image cache used by manager (pass nil to avoid image cache). |
- Returns
- A new manager.
◆ prefetchURLs: [1/4]
- (void) prefetchURLs: |
|
(nullable NSArray< NSURL * > *) |
urls |
|
Assign list of URLs to let ThingEncryptWebImageManager to queue the prefetching. Attention that call this will not cancel previous fetched urls.
- Parameters
-
urls | list of URLs to prefetch |
◆ prefetchURLs: [2/4]
- (void) prefetchURLs: |
|
(nullable NSArray< NSURL * > *) |
urls |
|
Assign list of URLs to let ThingEncryptWebImageManager to queue the prefetching. Attention that call this will not cancel previous fetched urls.
- Parameters
-
urls | list of URLs to prefetch |
◆ prefetchURLs: [3/4]
- (void) prefetchURLs: |
|
(nullable NSArray< NSURL * > *) |
urls |
|
Assign list of URLs to let ThingEncryptWebImageManager to queue the prefetching. Attention that call this will not cancel previous fetched urls.
- Parameters
-
urls | list of URLs to prefetch |
◆ prefetchURLs: [4/4]
- (void) prefetchURLs: |
|
(nullable NSArray< NSURL * > *) |
urls |
|
Assign list of URLs to let ThingEncryptWebImageManager to queue the prefetching. Attention that call this will not cancel previous fetched urls.
- Parameters
-
urls | list of URLs to prefetch |
◆ requestImageWithURL:options:progress:completion: [1/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:options:progress:completion: [2/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:options:progress:completion: [3/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:options:progress:completion: [4/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:progress:completion: [1/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:progress:completion: [2/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:progress:completion: [3/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:progress:completion: [4/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:scaledWidth:options:progress:completion: [1/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
scaledWidth | The image will be scaled to the specified width, and the height will be adjusted proportionally. |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:scaledWidth:options:progress:completion: [2/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
scaledWidth | The image will be scaled to the specified width, and the height will be adjusted proportionally. |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:scaledWidth:options:progress:completion: [3/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
scaledWidth | The image will be scaled to the specified width, and the height will be adjusted proportionally. |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ requestImageWithURL:scaledWidth:options:progress:completion: [4/4]
Creates and returns a new image operation, the operation will start immediately.
- Parameters
-
url | The image url (remote or local file path). |
scaledWidth | The image will be scaled to the specified width, and the height will be adjusted proportionally. |
options | The options to control image operation. |
progress | Progress block |
completion | Completion block |
- Returns
- A new image operation.
◆ sharedManager [1/4]
+ (instancetype) sharedManager |
|
|
|
◆ sharedManager [2/4]
+ (instancetype) sharedManager |
|
|
|
◆ sharedManager [3/4]
+ (instancetype) sharedManager |
|
|
|
◆ sharedManager [4/4]
+ (instancetype) sharedManager |
|
|
|
◆ cache
◆ cacheKeyFilter
- (NSString *(^ cacheKeyFilter) (NSURL *url)) |
|
readwritenonatomiccopy |
A block which will be invoked for each image operation. Default is nil.
Use this block to provide a custom image cache key for a specified URL.
◆ headers
- (NSDictionary< NSString *, NSString * > *) headers |
|
readwritenonatomiccopy |
◆ headersFilter
- (NSDictionary< NSString *, NSString * > *(^ headersFilter) (NSURL *url, NSDictionary< NSString *, NSString * > *_Nullable header)) |
|
readwritenonatomiccopy |
A block which will be invoked for each image HTTP request to do additional HTTP header process. Default is nil.
Use this block to add or remove HTTP header field for a specified URL.
◆ isSerial
◆ password
◆ timeout
- (NSTimeInterval) timeout |
|
readwritenonatomicassign |
◆ username
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/ThingEncryptWebImageManager.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptWebImageManager.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-arm64/ThingEncryptImage.framework/Headers/ThingEncryptWebImageManager.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_arm64_32_armv7k/ThingEncryptImage.framework/Headers/ThingEncryptWebImageManager.h