Go to the source code of this file.
|
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...
|
|
- Copyright
- Copyright © 2018 Veeva Systems, Inc. All rights reserved.
◆ VEVVaultJSONCacheReindexResultHandler
typedef void(^ VEVVaultJSONCacheReindexResultHandler) (NSError *_Nullable error) |
The block type used to call back to the application after cache methods are called.
- Parameters
-
error | The 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
-
entries | The cache entries resulting from the cache query. |
error | The 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
-
entriesCached | An array of the entries that were successfully cached. |
error | The error object in the event an error occurred during the cache operation. |
- See also
- - query:handler: (VEVVaultJSONCache).