Enumerations
Learn more about the enumerations used in the iOS ATS Mobile SDK covering error states, SDK statuses, and more.
LRError
The SDK error states are defined with LRError
enum. SDK returns the standard Error
types. To get more information, you can cast the error to LRError
.
Case | Description |
---|---|
notInitialized | The SDK is not initialized. |
missingConfigID | The Config ID is either empty or expired. You must verify that you've provided a configID and your subscription for the ATS SDK is still active. |
fetchingConfigurationFailed | The fetching of LRAtsConfiguration for the given appID has failed. |
noConsent | There is no consent from the user. |
atsDisabledInCountry | The country is not listed in atsEnabledCountries in LRAtsConfiguration . |
sdkIsNotReady | SDK status is not ready . |
sdkIsDisabled | SDK is disabled . |
LRStatus
Status of the SDK is defined with LRStatus
enum.
Case | Description |
---|---|
notInitialized | The SDK is not initialized. |
loading | The SDK is in the process of initialization. |
ready | The SDK is initialized and ready to use. |
disabled | The SDK is disabled. |
error | The SDK is in an error state. |
LRBloomFilterSyncStatus
Status of the the bloom filter synchronization is defined with LRBloomFilterSyncStatus
enum.
Case | Description |
---|---|
partial | This status is returned when the Bloom filters could only be partially downloaded. |
full | This status is returned when all the Bloom filters are fully downloaded. |
error | This status is returned if, for some reason, synchronization of the Bloom filters has failed (sdkNotReady , noInternet , etc.). |
LRDealIDsResultStatus
DealIDsResult
's status is defined with LRDealIdsResultStatus
enum.
Case | Description |
---|---|
partial | This status is returned if filtering is only done partially with all the Bloom filters. This can happen if at that moment all filters are not yet downloaded or the configuration has changed. |
full | This status is returned if filtering is fully done on all bloom filters. |
offline | This status is returned if there is no internet connection. |
error | This status is returned if the ATS SDK is not in a ready state when Deal IDs are requested, or if no Bloom filters are downloaded. |
Updated 3 months ago