Enumerations
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. |
missingAppId | The App ID is either empty or expired. You must verify that you provided appID 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. |
Updated 15 days ago