Tuya iOS Smart Life App SDK 5.15.0
ThingEncryptImageKVStorage Class Reference

#import <ThingEncryptImageKVStorage.h>

Inheritance diagram for ThingEncryptImageKVStorage:

Instance Methods

(instancetype) - UNAVAILABLE_ATTRIBUTE
 
(nullable instancetype) - initWithPath:
 
(BOOL) - saveItem:
 
(BOOL) - saveItemWithKey:value:
 
(BOOL) - saveItemWithKey:value:filename:extendedData:
 
(BOOL) - removeItemForKey:
 
(BOOL) - removeItemForKeys:
 
(BOOL) - removeItemsEarlierThanTime:
 
(BOOL) - removeItemsToFitSize:
 
(BOOL) - removeAllItems
 
(BOOL) - removeItemsAtPath:
 
(nullable ThingEncryptKVStorageItem *) - getItemForKey:
 
(nullable NSData *) - getItemValueForKey:
 
(nullable NSDictionary< NSString *, NSData * > *) - getItemValueForKeys:
 
(nullable NSString *) - cachePathForKey:
 
(BOOL) - itemExistsForKey:
 
(int) - getItemsCount
 
(int) - getItemsSize
 
(instancetype) - UNAVAILABLE_ATTRIBUTE
 
(nullable instancetype) - initWithPath:
 
(BOOL) - saveItem:
 
(BOOL) - saveItemWithKey:value:
 
(BOOL) - saveItemWithKey:value:filename:extendedData:
 
(BOOL) - removeItemForKey:
 
(BOOL) - removeItemForKeys:
 
(BOOL) - removeItemsEarlierThanTime:
 
(BOOL) - removeItemsToFitSize:
 
(BOOL) - removeAllItems
 
(BOOL) - removeItemsAtPath:
 
(nullable ThingEncryptKVStorageItem *) - getItemForKey:
 
(nullable NSData *) - getItemValueForKey:
 
(nullable NSDictionary< NSString *, NSData * > *) - getItemValueForKeys:
 
(nullable NSString *) - cachePathForKey:
 
(BOOL) - itemExistsForKey:
 
(int) - getItemsCount
 
(int) - getItemsSize
 
(instancetype) - UNAVAILABLE_ATTRIBUTE
 
(nullable instancetype) - initWithPath:
 
(BOOL) - saveItem:
 
(BOOL) - saveItemWithKey:value:
 
(BOOL) - saveItemWithKey:value:filename:extendedData:
 
(BOOL) - removeItemForKey:
 
(BOOL) - removeItemForKeys:
 
(BOOL) - removeItemsEarlierThanTime:
 
(BOOL) - removeItemsToFitSize:
 
(BOOL) - removeAllItems
 
(BOOL) - removeItemsAtPath:
 
(nullable ThingEncryptKVStorageItem *) - getItemForKey:
 
(nullable NSData *) - getItemValueForKey:
 
(nullable NSDictionary< NSString *, NSData * > *) - getItemValueForKeys:
 
(nullable NSString *) - cachePathForKey:
 
(BOOL) - itemExistsForKey:
 
(int) - getItemsCount
 
(int) - getItemsSize
 
(instancetype) - UNAVAILABLE_ATTRIBUTE
 
(nullable instancetype) - initWithPath:
 
(BOOL) - saveItem:
 
(BOOL) - saveItemWithKey:value:
 
(BOOL) - saveItemWithKey:value:filename:extendedData:
 
(BOOL) - removeItemForKey:
 
(BOOL) - removeItemForKeys:
 
(BOOL) - removeItemsEarlierThanTime:
 
(BOOL) - removeItemsToFitSize:
 
(BOOL) - removeAllItems
 
(BOOL) - removeItemsAtPath:
 
(nullable ThingEncryptKVStorageItem *) - getItemForKey:
 
(nullable NSData *) - getItemValueForKey:
 
(nullable NSDictionary< NSString *, NSData * > *) - getItemValueForKeys:
 
(nullable NSString *) - cachePathForKey:
 
(BOOL) - itemExistsForKey:
 
(int) - getItemsCount
 
(int) - getItemsSize
 

Class Methods

(instancetype) + UNAVAILABLE_ATTRIBUTE
 
(instancetype) + UNAVAILABLE_ATTRIBUTE
 
(instancetype) + UNAVAILABLE_ATTRIBUTE
 
(instancetype) + UNAVAILABLE_ATTRIBUTE
 

Properties

NSString * path
 The path of this storage. More...
 
NSString * dataDirectory
 The data path of this storage. More...
 
BOOL errorLogsEnabled
 Set YES to enable error logs for debug. More...
 

Detailed Description

ThingKVStorage is a key-value storage based on sqlite and file system. Thingpically, you should not use this class directly.

@discussion The designated initializer for ThingKVStorage is initWithPath:. After initialized, a directory is created based on the path to hold key-value data. Once initialized you should not read or write this directory without the instance.

Warning
The instance of this class is NOT thread safe, you need to make sure that there's only one thread to access the instance at the same time. If you really need to process large amounts of data in multi-thread, you should split the data to multiple KVStorage instance (sharding).

Definition at line 42 of file ThingEncryptImageKVStorage.h.

Method Documentation

◆ cachePathForKey: [1/4]

- (nullable NSString *) cachePathForKey: (nonnull NSString *)  key

The cache path for key

Parameters
keyA string identifying the value
Returns
The cache path for key. Or nil if the key can not associate to a path

◆ cachePathForKey: [2/4]

- (nullable NSString *) cachePathForKey: (nonnull NSString *)  key

The cache path for key

Parameters
keyA string identifying the value
Returns
The cache path for key. Or nil if the key can not associate to a path

◆ cachePathForKey: [3/4]

- (nullable NSString *) cachePathForKey: (nonnull NSString *)  key

The cache path for key

Parameters
keyA string identifying the value
Returns
The cache path for key. Or nil if the key can not associate to a path

◆ cachePathForKey: [4/4]

- (nullable NSString *) cachePathForKey: (nonnull NSString *)  key

The cache path for key

Parameters
keyA string identifying the value
Returns
The cache path for key. Or nil if the key can not associate to a path

◆ getItemForKey: [1/4]

- (nullable ThingEncryptKVStorageItem *) getItemForKey: (NSString *)  key

=============================================================================

@name Get Items

Get item with a specified key.

Parameters
keyA specified key.
Returns
Item for the key, or nil if not exists / error occurs.

◆ getItemForKey: [2/4]

- (nullable ThingEncryptKVStorageItem *) getItemForKey: (NSString *)  key

=============================================================================

@name Get Items

Get item with a specified key.

Parameters
keyA specified key.
Returns
Item for the key, or nil if not exists / error occurs.

◆ getItemForKey: [3/4]

- (nullable ThingEncryptKVStorageItem *) getItemForKey: (NSString *)  key

=============================================================================

@name Get Items

Get item with a specified key.

Parameters
keyA specified key.
Returns
Item for the key, or nil if not exists / error occurs.

◆ getItemForKey: [4/4]

- (nullable ThingEncryptKVStorageItem *) getItemForKey: (NSString *)  key

=============================================================================

@name Get Items

Get item with a specified key.

Parameters
keyA specified key.
Returns
Item for the key, or nil if not exists / error occurs.

◆ getItemsCount [1/4]

- (int) getItemsCount

Get total item count.

Returns
Total item count, -1 when an error occurs.

◆ getItemsCount [2/4]

- (int) getItemsCount

Get total item count.

Returns
Total item count, -1 when an error occurs.

◆ getItemsCount [3/4]

- (int) getItemsCount

Get total item count.

Returns
Total item count, -1 when an error occurs.

◆ getItemsCount [4/4]

- (int) getItemsCount

Get total item count.

Returns
Total item count, -1 when an error occurs.

◆ getItemsSize [1/4]

- (int) getItemsSize

Get item value's total size in bytes.

Returns
Total size in bytes, -1 when an error occurs.

◆ getItemsSize [2/4]

- (int) getItemsSize

Get item value's total size in bytes.

Returns
Total size in bytes, -1 when an error occurs.

◆ getItemsSize [3/4]

- (int) getItemsSize

Get item value's total size in bytes.

Returns
Total size in bytes, -1 when an error occurs.

◆ getItemsSize [4/4]

- (int) getItemsSize

Get item value's total size in bytes.

Returns
Total size in bytes, -1 when an error occurs.

◆ getItemValueForKey: [1/4]

- (nullable NSData *) getItemValueForKey: (NSString *)  key

Get item value with a specified key.

Parameters
keyA specified key.
Returns
Item's value, or nil if not exists / error occurs.

◆ getItemValueForKey: [2/4]

- (nullable NSData *) getItemValueForKey: (NSString *)  key

Get item value with a specified key.

Parameters
keyA specified key.
Returns
Item's value, or nil if not exists / error occurs.

◆ getItemValueForKey: [3/4]

- (nullable NSData *) getItemValueForKey: (NSString *)  key

Get item value with a specified key.

Parameters
keyA specified key.
Returns
Item's value, or nil if not exists / error occurs.

◆ getItemValueForKey: [4/4]

- (nullable NSData *) getItemValueForKey: (NSString *)  key

Get item value with a specified key.

Parameters
keyA specified key.
Returns
Item's value, or nil if not exists / error occurs.

◆ getItemValueForKeys: [1/4]

- (nullable NSDictionary< NSString *, NSData * > *) getItemValueForKeys: (NSArray< NSString * > *)  keys

Get items value with an array of keys.

Parameters
keysAn array of specified keys.
Returns
A dictionary which key is 'key' and value is 'value', or nil if not exists / error occurs.

◆ getItemValueForKeys: [2/4]

- (nullable NSDictionary< NSString *, NSData * > *) getItemValueForKeys: (NSArray< NSString * > *)  keys

Get items value with an array of keys.

Parameters
keysAn array of specified keys.
Returns
A dictionary which key is 'key' and value is 'value', or nil if not exists / error occurs.

◆ getItemValueForKeys: [3/4]

- (nullable NSDictionary< NSString *, NSData * > *) getItemValueForKeys: (NSArray< NSString * > *)  keys

Get items value with an array of keys.

Parameters
keysAn array of specified keys.
Returns
A dictionary which key is 'key' and value is 'value', or nil if not exists / error occurs.

◆ getItemValueForKeys: [4/4]

- (nullable NSDictionary< NSString *, NSData * > *) getItemValueForKeys: (NSArray< NSString * > *)  keys

Get items value with an array of keys.

Parameters
keysAn array of specified keys.
Returns
A dictionary which key is 'key' and value is 'value', or nil if not exists / error occurs.

◆ initWithPath: [1/4]

- (nullable instancetype) initWithPath: (NSString *)  NS_DESIGNATED_INITIALIZER

The designated initializer.

Parameters
pathFull path of a directory in which the storage will write data. If the directory is not exists, it will try to create one, otherwise it will read the data in this directory.
Returns
A new storage object, or nil if an error occurs.
Warning
Multiple instances with the same path will make the storage unstable.

◆ initWithPath: [2/4]

- (nullable instancetype) initWithPath: (NSString *)  NS_DESIGNATED_INITIALIZER

The designated initializer.

Parameters
pathFull path of a directory in which the storage will write data. If the directory is not exists, it will try to create one, otherwise it will read the data in this directory.
Returns
A new storage object, or nil if an error occurs.
Warning
Multiple instances with the same path will make the storage unstable.

◆ initWithPath: [3/4]

- (nullable instancetype) initWithPath: (NSString *)  NS_DESIGNATED_INITIALIZER

The designated initializer.

Parameters
pathFull path of a directory in which the storage will write data. If the directory is not exists, it will try to create one, otherwise it will read the data in this directory.
Returns
A new storage object, or nil if an error occurs.
Warning
Multiple instances with the same path will make the storage unstable.

◆ initWithPath: [4/4]

- (nullable instancetype) initWithPath: (NSString *)  NS_DESIGNATED_INITIALIZER

The designated initializer.

Parameters
pathFull path of a directory in which the storage will write data. If the directory is not exists, it will try to create one, otherwise it will read the data in this directory.
Returns
A new storage object, or nil if an error occurs.
Warning
Multiple instances with the same path will make the storage unstable.

◆ itemExistsForKey: [1/4]

- (BOOL) itemExistsForKey: (NSString *)  key

=============================================================================

@name Get Storage Status

Whether an item exists for a specified key.

Parameters
keyA specified key.
Returns
YES if there's an item exists for the key, NO if not exists or an error occurs.

◆ itemExistsForKey: [2/4]

- (BOOL) itemExistsForKey: (NSString *)  key

=============================================================================

@name Get Storage Status

Whether an item exists for a specified key.

Parameters
keyA specified key.
Returns
YES if there's an item exists for the key, NO if not exists or an error occurs.

◆ itemExistsForKey: [3/4]

- (BOOL) itemExistsForKey: (NSString *)  key

=============================================================================

@name Get Storage Status

Whether an item exists for a specified key.

Parameters
keyA specified key.
Returns
YES if there's an item exists for the key, NO if not exists or an error occurs.

◆ itemExistsForKey: [4/4]

- (BOOL) itemExistsForKey: (NSString *)  key

=============================================================================

@name Get Storage Status

Whether an item exists for a specified key.

Parameters
keyA specified key.
Returns
YES if there's an item exists for the key, NO if not exists or an error occurs.

◆ removeAllItems [1/4]

- (BOOL) removeAllItems

Remove all items in background queue.

@discussion This method will remove the files and sqlite database to a trash folder, and then clear the folder in background queue.

Returns
Whether succeed.

◆ removeAllItems [2/4]

- (BOOL) removeAllItems

Remove all items in background queue.

@discussion This method will remove the files and sqlite database to a trash folder, and then clear the folder in background queue.

Returns
Whether succeed.

◆ removeAllItems [3/4]

- (BOOL) removeAllItems

Remove all items in background queue.

@discussion This method will remove the files and sqlite database to a trash folder, and then clear the folder in background queue.

Returns
Whether succeed.

◆ removeAllItems [4/4]

- (BOOL) removeAllItems

Remove all items in background queue.

@discussion This method will remove the files and sqlite database to a trash folder, and then clear the folder in background queue.

Returns
Whether succeed.

◆ removeItemForKey: [1/4]

- (BOOL) removeItemForKey: (NSString *)  key

=============================================================================

@name Remove Items

Remove an item with 'key'.

Parameters
keyThe item's key.
Returns
Whether succeed.

◆ removeItemForKey: [2/4]

- (BOOL) removeItemForKey: (NSString *)  key

=============================================================================

@name Remove Items

Remove an item with 'key'.

Parameters
keyThe item's key.
Returns
Whether succeed.

◆ removeItemForKey: [3/4]

- (BOOL) removeItemForKey: (NSString *)  key

=============================================================================

@name Remove Items

Remove an item with 'key'.

Parameters
keyThe item's key.
Returns
Whether succeed.

◆ removeItemForKey: [4/4]

- (BOOL) removeItemForKey: (NSString *)  key

=============================================================================

@name Remove Items

Remove an item with 'key'.

Parameters
keyThe item's key.
Returns
Whether succeed.

◆ removeItemForKeys: [1/4]

- (BOOL) removeItemForKeys: (NSArray< NSString * > *)  keys

Remove items with an array of keys.

Parameters
keysAn array of specified keys.
Returns
Whether succeed.

◆ removeItemForKeys: [2/4]

- (BOOL) removeItemForKeys: (NSArray< NSString * > *)  keys

Remove items with an array of keys.

Parameters
keysAn array of specified keys.
Returns
Whether succeed.

◆ removeItemForKeys: [3/4]

- (BOOL) removeItemForKeys: (NSArray< NSString * > *)  keys

Remove items with an array of keys.

Parameters
keysAn array of specified keys.
Returns
Whether succeed.

◆ removeItemForKeys: [4/4]

- (BOOL) removeItemForKeys: (NSArray< NSString * > *)  keys

Remove items with an array of keys.

Parameters
keysAn array of specified keys.
Returns
Whether succeed.

◆ removeItemsAtPath: [1/4]

- (BOOL) removeItemsAtPath: (NSString *)  path

Remove all items under the given path in background queue.

Returns
Whether succeed.

◆ removeItemsAtPath: [2/4]

- (BOOL) removeItemsAtPath: (NSString *)  path

Remove all items under the given path in background queue.

Returns
Whether succeed.

◆ removeItemsAtPath: [3/4]

- (BOOL) removeItemsAtPath: (NSString *)  path

Remove all items under the given path in background queue.

Returns
Whether succeed.

◆ removeItemsAtPath: [4/4]

- (BOOL) removeItemsAtPath: (NSString *)  path

Remove all items under the given path in background queue.

Returns
Whether succeed.

◆ removeItemsEarlierThanTime: [1/4]

- (BOOL) removeItemsEarlierThanTime: (int)  time

Remove all items which last access time is earlier than a specified timestamp.

Parameters
timeThe specified unix timestamp.
Returns
Whether succeed.

◆ removeItemsEarlierThanTime: [2/4]

- (BOOL) removeItemsEarlierThanTime: (int)  time

Remove all items which last access time is earlier than a specified timestamp.

Parameters
timeThe specified unix timestamp.
Returns
Whether succeed.

◆ removeItemsEarlierThanTime: [3/4]

- (BOOL) removeItemsEarlierThanTime: (int)  time

Remove all items which last access time is earlier than a specified timestamp.

Parameters
timeThe specified unix timestamp.
Returns
Whether succeed.

◆ removeItemsEarlierThanTime: [4/4]

- (BOOL) removeItemsEarlierThanTime: (int)  time

Remove all items which last access time is earlier than a specified timestamp.

Parameters
timeThe specified unix timestamp.
Returns
Whether succeed.

◆ removeItemsToFitSize: [1/4]

- (BOOL) removeItemsToFitSize: (int)  maxSize

Remove items to make the total size not larger than a specified size. The least recently used (LRU) items will be removed first.

Parameters
maxSizeThe specified size in bytes.
Returns
Whether succeed.

◆ removeItemsToFitSize: [2/4]

- (BOOL) removeItemsToFitSize: (int)  maxSize

Remove items to make the total size not larger than a specified size. The least recently used (LRU) items will be removed first.

Parameters
maxSizeThe specified size in bytes.
Returns
Whether succeed.

◆ removeItemsToFitSize: [3/4]

- (BOOL) removeItemsToFitSize: (int)  maxSize

Remove items to make the total size not larger than a specified size. The least recently used (LRU) items will be removed first.

Parameters
maxSizeThe specified size in bytes.
Returns
Whether succeed.

◆ removeItemsToFitSize: [4/4]

- (BOOL) removeItemsToFitSize: (int)  maxSize

Remove items to make the total size not larger than a specified size. The least recently used (LRU) items will be removed first.

Parameters
maxSizeThe specified size in bytes.
Returns
Whether succeed.

◆ saveItem: [1/4]

- (BOOL) saveItem: (ThingEncryptKVStorageItem *)  item

=============================================================================

@name Save Items

Save an item or update the item with 'key' if it already exists.

@discussion This method will save the item.key, item.value, item.filename and item.extendedData to disk or sqlite, other properties will be ignored. item.key and item.value should not be empty (nil or zero length). the item.filename should not be empty.

Parameters
itemAn item.
Returns
Whether succeed.

◆ saveItem: [2/4]

- (BOOL) saveItem: (ThingEncryptKVStorageItem *)  item

=============================================================================

@name Save Items

Save an item or update the item with 'key' if it already exists.

@discussion This method will save the item.key, item.value, item.filename and item.extendedData to disk or sqlite, other properties will be ignored. item.key and item.value should not be empty (nil or zero length). the item.filename should not be empty.

Parameters
itemAn item.
Returns
Whether succeed.

◆ saveItem: [3/4]

- (BOOL) saveItem: (ThingEncryptKVStorageItem *)  item

=============================================================================

@name Save Items

Save an item or update the item with 'key' if it already exists.

@discussion This method will save the item.key, item.value, item.filename and item.extendedData to disk or sqlite, other properties will be ignored. item.key and item.value should not be empty (nil or zero length). the item.filename should not be empty.

Parameters
itemAn item.
Returns
Whether succeed.

◆ saveItem: [4/4]

- (BOOL) saveItem: (ThingEncryptKVStorageItem *)  item

=============================================================================

@name Save Items

Save an item or update the item with 'key' if it already exists.

@discussion This method will save the item.key, item.value, item.filename and item.extendedData to disk or sqlite, other properties will be ignored. item.key and item.value should not be empty (nil or zero length). the item.filename should not be empty.

Parameters
itemAn item.
Returns
Whether succeed.

◆ saveItemWithKey:value: [1/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value 

Save an item or update the item with 'key' if it already exists.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
Returns
Whether succeed.

◆ saveItemWithKey:value: [2/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value 

Save an item or update the item with 'key' if it already exists.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
Returns
Whether succeed.

◆ saveItemWithKey:value: [3/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value 

Save an item or update the item with 'key' if it already exists.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
Returns
Whether succeed.

◆ saveItemWithKey:value: [4/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value 

Save an item or update the item with 'key' if it already exists.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
Returns
Whether succeed.

◆ saveItemWithKey:value:filename:extendedData: [1/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value
filename: (nullable NSString *)  filename
extendedData: (nullable NSData *)  extendedData 

Save an item or update the item with 'key' if it already exists. the filename should not be empty.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
filenameThe filename.
extendedDataThe extended data for this item (pass nil to ignore it).
Returns
Whether succeed.

◆ saveItemWithKey:value:filename:extendedData: [2/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value
filename: (nullable NSString *)  filename
extendedData: (nullable NSData *)  extendedData 

Save an item or update the item with 'key' if it already exists. the filename should not be empty.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
filenameThe filename.
extendedDataThe extended data for this item (pass nil to ignore it).
Returns
Whether succeed.

◆ saveItemWithKey:value:filename:extendedData: [3/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value
filename: (nullable NSString *)  filename
extendedData: (nullable NSData *)  extendedData 

Save an item or update the item with 'key' if it already exists. the filename should not be empty.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
filenameThe filename.
extendedDataThe extended data for this item (pass nil to ignore it).
Returns
Whether succeed.

◆ saveItemWithKey:value:filename:extendedData: [4/4]

- (BOOL) saveItemWithKey: (NSString *)  key
value: (NSData *)  value
filename: (nullable NSString *)  filename
extendedData: (nullable NSData *)  extendedData 

Save an item or update the item with 'key' if it already exists. the filename should not be empty.

Parameters
keyThe key, should not be empty (nil or zero length).
valueThe key, should not be empty (nil or zero length).
filenameThe filename.
extendedDataThe extended data for this item (pass nil to ignore it).
Returns
Whether succeed.

◆ UNAVAILABLE_ATTRIBUTE [1/8]

+ (instancetype) UNAVAILABLE_ATTRIBUTE

◆ UNAVAILABLE_ATTRIBUTE [2/8]

- (instancetype) UNAVAILABLE_ATTRIBUTE

=============================================================================

@name Initializer

◆ UNAVAILABLE_ATTRIBUTE [3/8]

+ (instancetype) UNAVAILABLE_ATTRIBUTE

◆ UNAVAILABLE_ATTRIBUTE [4/8]

- (instancetype) UNAVAILABLE_ATTRIBUTE

=============================================================================

@name Initializer

◆ UNAVAILABLE_ATTRIBUTE [5/8]

+ (instancetype) UNAVAILABLE_ATTRIBUTE

◆ UNAVAILABLE_ATTRIBUTE [6/8]

- (instancetype) UNAVAILABLE_ATTRIBUTE

=============================================================================

@name Initializer

◆ UNAVAILABLE_ATTRIBUTE [7/8]

+ (instancetype) UNAVAILABLE_ATTRIBUTE

◆ UNAVAILABLE_ATTRIBUTE [8/8]

- (instancetype) UNAVAILABLE_ATTRIBUTE

=============================================================================

@name Initializer

Property Documentation

◆ dataDirectory

- (NSString *) dataDirectory
readnonatomicassign

The data path of this storage.

Definition at line 50 of file ThingEncryptImageKVStorage.h.

◆ errorLogsEnabled

- (BOOL) errorLogsEnabled
readwritenonatomicassign

Set YES to enable error logs for debug.

Definition at line 51 of file ThingEncryptImageKVStorage.h.

◆ path

- (NSString *) path
readnonatomicassign

The path of this storage.

=============================================================================

@name Attribute

=============================================================================

@name Attribute

=============================================================================

@name Attribute

=============================================================================

@name Attribute

Definition at line 49 of file ThingEncryptImageKVStorage.h.


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