subscriber-attributes / com.revenuecat.purchases.subscriberattributes.caching / SubscriberAttributesCache

SubscriberAttributesCache

class SubscriberAttributesCache

Constructors

<init>

SubscriberAttributesCache(deviceCache: DeviceCache)

Functions

cleanUpSubscriberAttributeCache

fun cleanUpSubscriberAttributeCache(currentAppUserID: String): Unit

clearSubscriberAttributesIfSyncedForSubscriber

fun clearSubscriberAttributesIfSyncedForSubscriber(appUserID: String): Unit

getAllStoredSubscriberAttributes

fun getAllStoredSubscriberAttributes(): SubscriberAttributesPerAppUserIDMap
fun getAllStoredSubscriberAttributes(appUserID: AppUserID): SubscriberAttributeMap

getUnsyncedSubscriberAttributes

fun getUnsyncedSubscriberAttributes(): SubscriberAttributesPerAppUserIDMap
fun getUnsyncedSubscriberAttributes(appUserID: String): SubscriberAttributeMap

setAttributes

fun setAttributes(appUserID: AppUserID, attributesToBeSet: SubscriberAttributeMap): Unit