AnylineSDK Class Reference

Inherits from NSObject
Declared in AnylineSDK.h

Overview

The Anyline SDK

+ setupWithLicenseKey:error:

license key string for the application

+ (BOOL)setupWithLicenseKey:(NSString *)licenseKey error:(NSError **)error

Parameters

licenseKey

license key string for the application

error

error information set if initialization fails

Return Value

boolean indicating whether or not the operation succeeded

Declared In

AnylineSDK.h

+ setupWithLicenseKey:cacheConfig:error:

license key string for the application

+ (BOOL)setupWithLicenseKey:(NSString *)licenseKey cacheConfig:(ALCacheConfig *_Nullable)cacheConfig error:(NSError **)error

Parameters

licenseKey

license key string for the application

cacheConfig

the caching behavior

error

error information set if initialization fails

Return Value

boolean indicating whether or not the operation succeeded

Declared In

AnylineSDK.h

+ licenseExpirationDate

Provides a human-readble date for when the Anyline license key expires. Make sure to call this only after setupWithLicenseKey: had been completed successfully.

+ (NSString *)licenseExpirationDate

Return Value

the date of expiry as a string, or null if the license wasn’t yet initialized

Declared In

AnylineSDK.h

+ versionNumber

Version number of the SDK

+ (NSString *)versionNumber

Return Value

the version number of the SDK

Declared In

AnylineSDK.h

+ buildNumber

Build number of the SDK

+ (NSString *)buildNumber

Return Value

the build number of the SDK

Declared In

AnylineSDK.h

+ exportCachedEvents:

+ (NSString *_Nullable)exportCachedEvents:(NSError *_Nullable *_Nullable)error