Core Repository
class CoreRepository(remoteRepository: RemoteRepository, localRepository: LocalRepository, sdkConfig: SdkConfig) : LocalRepository, RemoteRepository
Content copied to clipboard
Author
Umang Chamaria Date: 2020/11/05
Constructors
CoreRepository
Link copied to clipboard
fun CoreRepository(remoteRepository: RemoteRepository, localRepository: LocalRepository, sdkConfig: SdkConfig)
Content copied to clipboard
Functions
addOrUpdateAttribute
Link copied to clipboard
addOrUpdateDeviceAttribute
Link copied to clipboard
open override fun addOrUpdateDeviceAttribute(deviceAttribute: DeviceAttribute)
Content copied to clipboard
clearCachedData
Link copied to clipboard
open override fun clearCachedData()
Content copied to clipboard
clearPushTokens
Link copied to clipboard
open override fun clearPushTokens()
Content copied to clipboard
configApi
Link copied to clipboard
open override fun configApi(configApiRequest: ConfigApiRequest): ConfigApiResponse
Content copied to clipboard
deleteBatch
Link copied to clipboard
deleteInteractionData
Link copied to clipboard
deleteUserSession
Link copied to clipboard
open override fun deleteUserSession()
Content copied to clipboard
deviceAdd
Link copied to clipboard
getAdTrackingStatus
Link copied to clipboard
getAppVersionCode
Link copied to clipboard
getAttributeByName
Link copied to clipboard
open override fun getAttributeByName(attributeName: String): MoEAttribute?
Content copied to clipboard
getBaseRequest
Link copied to clipboard
getBatchedData
Link copied to clipboard
getConfigSyncTime
Link copied to clipboard
getCurrentUserId
Link copied to clipboard
getDataPoints
Link copied to clipboard
getDeviceAttributeByName
Link copied to clipboard
open override fun getDeviceAttributeByName(attributeName: String): DeviceAttribute?
Content copied to clipboard
getDeviceInfo
Link copied to clipboard
getDevicePreferences
Link copied to clipboard
getFeatureStatus
Link copied to clipboard
getInstallStatus
Link copied to clipboard
getLastInAppShownTime
Link copied to clipboard
getPushService
Link copied to clipboard
getPushTokens
Link copied to clipboard
getQueryParams
Link copied to clipboard
open override fun getQueryParams(devicePreferences: DevicePreferences, pushTokens: PushTokens, sdkConfig: SdkConfig): JSONObject
Content copied to clipboard
getRemoteConfiguration
Link copied to clipboard
getSdkIdentifiers
Link copied to clipboard
getSegmentAnonymousId
Link copied to clipboard
getSentScreenNames
Link copied to clipboard
getUserAttributeUniqueId
Link copied to clipboard
getUserSession
Link copied to clipboard
getVerificationRegistrationTime
Link copied to clipboard
isDebugLogEnabled
Link copied to clipboard
isDeviceRegistered
Link copied to clipboard
isDeviceRegisteredForVerification
Link copied to clipboard
isModuleEnabled
Link copied to clipboard
removeExpiredData
Link copied to clipboard
open override fun removeExpiredData()
Content copied to clipboard
removeUserConfigurationOnLogout
Link copied to clipboard
open override fun removeUserConfigurationOnLogout()
Content copied to clipboard
reportAdd
Link copied to clipboard
open override fun reportAdd(reportAddRequest: ReportAddRequest): ReportAddResponse
Content copied to clipboard
saveUserAttributeUniqueId
Link copied to clipboard
sendLog
Link copied to clipboard
storeAdTrackingStatus
Link copied to clipboard
storeAppVersionCode
Link copied to clipboard
storeConfigSyncTime
Link copied to clipboard
storeDataTrackingPreference
Link copied to clipboard
storeDebugLogStatus
Link copied to clipboard
storeDeviceRegistrationState
Link copied to clipboard
storeFeatureStatus
Link copied to clipboard
storeInAppPreference
Link copied to clipboard
storeInstallStatus
Link copied to clipboard
storeIsDeviceRegisteredForVerification
Link copied to clipboard
open override fun storeIsDeviceRegisteredForVerification(hasVerificationRegistered: Boolean)
Content copied to clipboard
storeLastInAppShownTime
Link copied to clipboard
storePushCampaign
Link copied to clipboard
storePushNotificationPreference
Link copied to clipboard
storePushService
Link copied to clipboard
storePushToken
Link copied to clipboard
storeRemoteConfiguration
Link copied to clipboard
storeSegmentAnonymousId
Link copied to clipboard
storeSentScreenNames
Link copied to clipboard
storeUserAttributeUniqueId
Link copied to clipboard
storeUserSession
Link copied to clipboard
storeVerificationRegistrationTime
Link copied to clipboard
syncConfig
Link copied to clipboard
syncDeviceInfo
Link copied to clipboard
syncReports
Link copied to clipboard
fun syncReports(requestId: String, batchDataJson: JSONObject, shouldSendDataToTestServer: Boolean, sdkConfig: SdkConfig): Boolean
Content copied to clipboard
updateBatch
Link copied to clipboard
writeBatch
Link copied to clipboard