ALCacheConfig Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | ALCacheConfig.h |
Overview
Controls report log caching behavior. This object is passed to [AnylineSDK setupWithLicenseKey:cacheConfig:error:].
cachingEnabled
Indicates whether caching is enabled or not
@property (nonatomic, readonly) BOOL cachingEnabledDeclared In
ALCacheConfig.h
offlineLicenseCachingEnabled
Indicates whether special caching is enabled for offline licenses
@property (nonatomic, readonly) BOOL offlineLicenseCachingEnabledDeclared In
ALCacheConfig.h
maxEventAgeInDays
The maximum number of days an event will be stored in the cache
@property (nonatomic, readonly) NSUInteger maxEventAgeInDaysDeclared In
ALCacheConfig.h
cachePullBatchSize
The total number of event pulled from cache each time the scanner loads
@property (nonatomic, readonly) NSUInteger cachePullBatchSizeDeclared In
ALCacheConfig.h
+ default
The default configuration, which instructs the core to use the
standard report caching behavior. If not specified in
[AnylineSDK setupWithLicenseKey:cacheConfig:error:], this config
will used.
+ (ALCacheConfig *)defaultDeclared In
ALCacheConfig.h
+ offlineLicenseCachingEnabled
Used for the benefit of integrators running Anyline with offline license
keys. It allows [AnylineSDK exportCachedEvents:] to work as intended.
+ (ALCacheConfig *)offlineLicenseCachingEnabledDeclared In
ALCacheConfig.h