VaultMobileSDK  18R3
iOS framework for Vault API
VEVVaultCache.h
Go to the documentation of this file.
1 
6 #import <Foundation/Foundation.h>
7 #import "VEVError.h"
8 
9 
10 NS_ASSUME_NONNULL_BEGIN
11 
12 @class VEVVault, VEVVaultCacheEntry;
13 
22 typedef void (^VEVVaultCacheRemoveEntriesResultHandler)(NSError * _Nullable error);
23 
32 typedef void (^VEVVaultCacheRemoveAllEntriesResultHandler)(NSError * _Nullable error);
33 
37 @interface VEVVaultCache : NSObject
38 
41 @property (strong, nonatomic, readonly, nonnull) NSString* name;
42 
45 @property (strong, nonatomic, readonly, nonnull) VEVVault* vault;
46 
47 -(instancetype) __unavailable init;
48 
55 - (void)removeEntries:(NSArray<VEVVaultCacheEntry *>*)entries handler:(VEVVaultCacheRemoveEntriesResultHandler _Nullable)handler;
56 
61 - (void)removeAllEntries:(VEVVaultCacheRemoveAllEntriesResultHandler _Nullable)handler;
62 
63 @end
64 
65 NS_ASSUME_NONNULL_END
VEVVault * vault
The Vault associated with the cache.
Definition: VEVVaultCache.h:45
NSString * name
The name associated with the cache.
Definition: VEVVaultCache.h:41
The abstract base class for all cache classes intended to store Vault related entities for offline ac...
Definition: VEVVaultCache.h:37
An object type that refers to a particular Vault. VEVVaultAuth::currentUser tracks the authenticated ...
Definition: VEVVaultAuth.h:22
void(^ VEVVaultCacheRemoveAllEntriesResultHandler)(NSError *_Nullable error)
The block type used to call back to the application after the removeAllEntries method has been invoke...
Definition: VEVVaultCache.h:32
void(^ VEVVaultCacheRemoveEntriesResultHandler)(NSError *_Nullable error)
The block type used to call back to the application after the removeEntriesFromCache method has been ...
Definition: VEVVaultCache.h:22