Tuya iOS Smart Life App SDK 5.15.0
ThingEncryptWebImageSetter Class Reference

#import <ThingEncryptWebImageSetter.h>

Inheritance diagram for ThingEncryptWebImageSetter:

Instance Methods

(int32_t) - setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion:
 Create new operation for web image and return a sentinel value. More...
 
(int32_t) - cancel
 Cancel and return a sentinel value. The imageURL will be set to nil. More...
 
(int32_t) - cancelWithNewURL:
 Cancel and return a sentinel value. The imageURL will be set to new value. More...
 
(void) - setOperationWithUrl:options:manager:progress:completion:
 Create new operation for web image, use for download manage. More...
 
(int32_t) - setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion:
 Create new operation for web image and return a sentinel value. More...
 
(int32_t) - cancel
 Cancel and return a sentinel value. The imageURL will be set to nil. More...
 
(int32_t) - cancelWithNewURL:
 Cancel and return a sentinel value. The imageURL will be set to new value. More...
 
(void) - setOperationWithUrl:options:manager:progress:completion:
 Create new operation for web image, use for download manage. More...
 
(int32_t) - setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion:
 Create new operation for web image and return a sentinel value. More...
 
(int32_t) - cancel
 Cancel and return a sentinel value. The imageURL will be set to nil. More...
 
(int32_t) - cancelWithNewURL:
 Cancel and return a sentinel value. The imageURL will be set to new value. More...
 
(void) - setOperationWithUrl:options:manager:progress:completion:
 Create new operation for web image, use for download manage. More...
 
(int32_t) - setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion:
 Create new operation for web image and return a sentinel value. More...
 
(int32_t) - cancel
 Cancel and return a sentinel value. The imageURL will be set to nil. More...
 
(int32_t) - cancelWithNewURL:
 Cancel and return a sentinel value. The imageURL will be set to new value. More...
 
(void) - setOperationWithUrl:options:manager:progress:completion:
 Create new operation for web image, use for download manage. More...
 

Class Methods

(dispatch_queue_t) + setterQueue
 A queue to set operation. More...
 
(dispatch_queue_t) + setterQueue
 A queue to set operation. More...
 
(dispatch_queue_t) + setterQueue
 A queue to set operation. More...
 
(dispatch_queue_t) + setterQueue
 A queue to set operation. More...
 

Properties

NSURL * imageURL
 Current image url. More...
 
int32_t sentinel
 Current sentinel. More...
 

Detailed Description

Private class used by web image categories. Thingpically, you should not use this class directly.

Definition at line 31 of file ThingEncryptWebImageSetter.h.

Method Documentation

◆ cancel [1/4]

- (int32_t) cancel

Cancel and return a sentinel value. The imageURL will be set to nil.

◆ cancel [2/4]

- (int32_t) cancel

Cancel and return a sentinel value. The imageURL will be set to nil.

◆ cancel [3/4]

- (int32_t) cancel

Cancel and return a sentinel value. The imageURL will be set to nil.

◆ cancel [4/4]

- (int32_t) cancel

Cancel and return a sentinel value. The imageURL will be set to nil.

◆ cancelWithNewURL: [1/4]

- (int32_t) cancelWithNewURL: (nullable NSURL *)  imageURL

Cancel and return a sentinel value. The imageURL will be set to new value.

◆ cancelWithNewURL: [2/4]

- (int32_t) cancelWithNewURL: (nullable NSURL *)  imageURL

Cancel and return a sentinel value. The imageURL will be set to new value.

◆ cancelWithNewURL: [3/4]

- (int32_t) cancelWithNewURL: (nullable NSURL *)  imageURL

Cancel and return a sentinel value. The imageURL will be set to new value.

◆ cancelWithNewURL: [4/4]

- (int32_t) cancelWithNewURL: (nullable NSURL *)  imageURL

Cancel and return a sentinel value. The imageURL will be set to new value.

◆ setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion: [1/4]

- (int32_t) setOperationWithSentinel: (int32_t)  sentinel
url: (nullable NSURL *)  imageURL
scaledWidth: (NSInteger)  scaledWidth
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image and return a sentinel value.

◆ setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion: [2/4]

- (int32_t) setOperationWithSentinel: (int32_t)  sentinel
url: (nullable NSURL *)  imageURL
scaledWidth: (NSInteger)  scaledWidth
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image and return a sentinel value.

◆ setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion: [3/4]

- (int32_t) setOperationWithSentinel: (int32_t)  sentinel
url: (nullable NSURL *)  imageURL
scaledWidth: (NSInteger)  scaledWidth
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image and return a sentinel value.

◆ setOperationWithSentinel:url:scaledWidth:options:manager:progress:completion: [4/4]

- (int32_t) setOperationWithSentinel: (int32_t)  sentinel
url: (nullable NSURL *)  imageURL
scaledWidth: (NSInteger)  scaledWidth
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image and return a sentinel value.

◆ setOperationWithUrl:options:manager:progress:completion: [1/4]

- (void) setOperationWithUrl: (nullable NSURL *)  imageURL
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image, use for download manage.

◆ setOperationWithUrl:options:manager:progress:completion: [2/4]

- (void) setOperationWithUrl: (nullable NSURL *)  imageURL
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image, use for download manage.

◆ setOperationWithUrl:options:manager:progress:completion: [3/4]

- (void) setOperationWithUrl: (nullable NSURL *)  imageURL
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image, use for download manage.

◆ setOperationWithUrl:options:manager:progress:completion: [4/4]

- (void) setOperationWithUrl: (nullable NSURL *)  imageURL
options: (ThingEncryptWebImageOptions)  options
manager: (ThingEncryptWebImageManager *)  manager
progress: (nullable ThingEncryptWebImageProgressBlock progress
completion: (nullable ThingEncryptWebImageCompletionBlock completion 

Create new operation for web image, use for download manage.

◆ setterQueue [1/4]

+ (dispatch_queue_t) setterQueue

A queue to set operation.

◆ setterQueue [2/4]

+ (dispatch_queue_t) setterQueue

A queue to set operation.

◆ setterQueue [3/4]

+ (dispatch_queue_t) setterQueue

A queue to set operation.

◆ setterQueue [4/4]

+ (dispatch_queue_t) setterQueue

A queue to set operation.

Property Documentation

◆ imageURL

- (NSURL *) imageURL
readnonatomicassign

Current image url.

Definition at line 33 of file ThingEncryptWebImageSetter.h.

◆ sentinel

- (int32_t) sentinel
readnonatomicassign

Current sentinel.

Definition at line 35 of file ThingEncryptWebImageSetter.h.


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