Tuya iOS Smart Life App SDK 5.15.0
<ThingEncryptWebImagePrefetcherDelegate> Protocol Reference

#import <ThingEncryptWebImagePrefetcher.h>

Inheritance diagram for <ThingEncryptWebImagePrefetcherDelegate>:

Instance Methods

(void) - encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount:
 
(void) - encryptImagePrefetcher:didFinishWithTotalCount:skippedCount:
 
(void) - encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount:
 
(void) - encryptImagePrefetcher:didFinishWithTotalCount:skippedCount:
 
(void) - encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount:
 
(void) - encryptImagePrefetcher:didFinishWithTotalCount:skippedCount:
 
(void) - encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount:
 
(void) - encryptImagePrefetcher:didFinishWithTotalCount:skippedCount:
 

Detailed Description

Definition at line 32 of file ThingEncryptWebImagePrefetcher.h.

Method Documentation

◆ encryptImagePrefetcher:didFinishWithTotalCount:skippedCount: [1/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didFinishWithTotalCount: (NSUInteger)  totalCount
skippedCount: (NSUInteger)  skippedCount 
optional

Called when all images are prefetched. Which means it's called when all URLs from all of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
totalCountThe total number of images that were prefetched (whether successful or not)
skippedCountThe total number of images that were skipped

◆ encryptImagePrefetcher:didFinishWithTotalCount:skippedCount: [2/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didFinishWithTotalCount: (NSUInteger)  totalCount
skippedCount: (NSUInteger)  skippedCount 
optional

Called when all images are prefetched. Which means it's called when all URLs from all of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
totalCountThe total number of images that were prefetched (whether successful or not)
skippedCountThe total number of images that were skipped

◆ encryptImagePrefetcher:didFinishWithTotalCount:skippedCount: [3/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didFinishWithTotalCount: (NSUInteger)  totalCount
skippedCount: (NSUInteger)  skippedCount 
optional

Called when all images are prefetched. Which means it's called when all URLs from all of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
totalCountThe total number of images that were prefetched (whether successful or not)
skippedCountThe total number of images that were skipped

◆ encryptImagePrefetcher:didFinishWithTotalCount:skippedCount: [4/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didFinishWithTotalCount: (NSUInteger)  totalCount
skippedCount: (NSUInteger)  skippedCount 
optional

Called when all images are prefetched. Which means it's called when all URLs from all of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
totalCountThe total number of images that were prefetched (whether successful or not)
skippedCountThe total number of images that were skipped

◆ encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount: [1/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didPrefetchURL: (nullable NSURL *)  imageURL
finishedCount: (NSUInteger)  finishedCount
totalCount: (NSUInteger)  totalCount 
optional

Called when an image was prefetched. Which means it's called when one URL from any of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
imageURLThe image url that was prefetched
finishedCountThe total number of images that were prefetched (successful or not)
totalCountThe total number of images that were to be prefetched

◆ encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount: [2/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didPrefetchURL: (nullable NSURL *)  imageURL
finishedCount: (NSUInteger)  finishedCount
totalCount: (NSUInteger)  totalCount 
optional

Called when an image was prefetched. Which means it's called when one URL from any of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
imageURLThe image url that was prefetched
finishedCountThe total number of images that were prefetched (successful or not)
totalCountThe total number of images that were to be prefetched

◆ encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount: [3/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didPrefetchURL: (nullable NSURL *)  imageURL
finishedCount: (NSUInteger)  finishedCount
totalCount: (NSUInteger)  totalCount 
optional

Called when an image was prefetched. Which means it's called when one URL from any of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
imageURLThe image url that was prefetched
finishedCountThe total number of images that were prefetched (successful or not)
totalCountThe total number of images that were to be prefetched

◆ encryptImagePrefetcher:didPrefetchURL:finishedCount:totalCount: [4/4]

- (void) encryptImagePrefetcher: (nonnull ThingEncryptWebImagePrefetcher *)  imagePrefetcher
didPrefetchURL: (nullable NSURL *)  imageURL
finishedCount: (NSUInteger)  finishedCount
totalCount: (NSUInteger)  totalCount 
optional

Called when an image was prefetched. Which means it's called when one URL from any of prefetching finished.

Parameters
imagePrefetcherThe current image prefetcher
imageURLThe image url that was prefetched
finishedCountThe total number of images that were prefetched (successful or not)
totalCountThe total number of images that were to be prefetched

The documentation for this protocol was generated from the following files: