VaultMobileSDK  18R3
iOS framework for Vault API
Classes | Typedefs
VEVVaultJSONCache.h File Reference

Go to the source code of this file.

Classes

class  VEVVaultJSONCache
 Instances of this class are used to store JSON responses from Vault for later use—for example when the user is offline. Caches support complex queries, are persistent, and retain their contents across application restarts. More...
 

Typedefs

typedef void(^ VEVVaultJSONCacheReindexResultHandler) (NSError *_Nullable error)
 The block type used to call back to the application after cache methods are called. More...
 
typedef void(^ VEVVaultJSONCacheQueryResultHandler) (NSArray< VEVVaultJSONCacheEntry *> *_Nullable entries, NSError *_Nullable error)
 The block type used to call back to the application after the query method has be invoked. More...
 
typedef void(^ VEVVaultJSONCacheCacheResponseResultHandler) (NSArray< VEVVaultJSONCacheEntry *> *_Nullable entriesCached, NSError *_Nullable error)
 The block type used to call back to the application after the cache method has be invoked. More...
 

Detailed Description

Typedef Documentation

◆ VEVVaultJSONCacheReindexResultHandler

typedef void(^ VEVVaultJSONCacheReindexResultHandler) (NSError *_Nullable error)

The block type used to call back to the application after cache methods are called.

Parameters
errorThe error object in the event an error occurred during the cache operation.

◆ VEVVaultJSONCacheQueryResultHandler

typedef void(^ VEVVaultJSONCacheQueryResultHandler) (NSArray< VEVVaultJSONCacheEntry * > *_Nullable entries, NSError *_Nullable error)

The block type used to call back to the application after the query method has be invoked.

Parameters
entriesThe cache entries resulting from the cache query.
errorThe error object in the event an error occurred during the query.
See also
- cache:vault:handler: (VEVVaultJSONCache).

◆ VEVVaultJSONCacheCacheResponseResultHandler

typedef void(^ VEVVaultJSONCacheCacheResponseResultHandler) (NSArray< VEVVaultJSONCacheEntry * > *_Nullable entriesCached, NSError *_Nullable error)

The block type used to call back to the application after the cache method has be invoked.

Parameters
entriesCachedAn array of the entries that were successfully cached.
errorThe error object in the event an error occurred during the cache operation.
See also
- query:handler: (VEVVaultJSONCache).