+

ALCacheConfig Class Reference

+ + +
+ + + + + + + +
Inherits fromNSObject
Declared inALCacheConfig.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 cachingEnabled
+ + + + + + + + + + + + + + + +
+

Declared In

+

ALCacheConfig.h

+
+ + +
+
+
+ +

  offlineLicenseCachingEnabled +

+ +
+
+ +
+ + +
+

Indicates whether special caching is enabled for offline licenses

+
+ + + +
@property (nonatomic, readonly) BOOL offlineLicenseCachingEnabled
+ + + + + + + + + + + + + + + +
+

Declared In

+

ALCacheConfig.h

+
+ + +
+
+
+ +

  maxEventAgeInDays +

+ +
+
+ +
+ + +
+

The maximum number of days an event will be stored in the cache

+
+ + + +
@property (nonatomic, readonly) NSUInteger maxEventAgeInDays
+ + + + + + + + + + + + + + + +
+

Declared In

+

ALCacheConfig.h

+
+ + +
+
+
+ +

  cachePullBatchSize +

+ +
+
+ +
+ + +
+

The total number of event pulled from cache each time the scanner +loads

+
+ + + +
@property (nonatomic, readonly) NSUInteger cachePullBatchSize
+ + + + + + + + + + + + + + + +
+

Declared 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 *)default
+ + + + + + + + + + + + + + + +
+

Declared 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 *)offlineLicenseCachingEnabled
+ + + + + + + + + + + + + + + +
+

Declared In

+

ALCacheConfig.h

+
+ + +
+
+
+
+ +
+ + + + + + +