-
public final class LegacyInAppStoreThe
LegacyInAppStoreclass manages the storage and retrieval of legacy In-App messages. Legacy In-App messages are stored in the shared preferences named "WizRocket" with key "inApp" concatenated with the provided account identifier. This class is used for handling In-App messages in a legacy manner.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLegacyInAppStore.Companion
-
Constructor Summary
Constructors Constructor Description LegacyInAppStore(ICTPreference ctPreference, String accountId)
-
Method Summary
Modifier and Type Method Description final UnitstoreInApps(JSONArray inApps)Stores legacy In-App messages in the shared preferences. final JSONArrayreadInApps()Reads and retrieves legacy In-App messages from the shared preferences. final UnitremoveInApps()Removes the stored legacy In-App messages from the shared preferences. final UnitupdateAssetCleanupTs(Long ts)final LonglastCleanupTs()-
-
Constructor Detail
-
LegacyInAppStore
LegacyInAppStore(ICTPreference ctPreference, String accountId)
-
-
Method Detail
-
storeInApps
final Unit storeInApps(JSONArray inApps)
Stores legacy In-App messages in the shared preferences.
- Parameters:
inApps- The array of legacy In-App messages to be stored.
-
readInApps
final JSONArray readInApps()
Reads and retrieves legacy In-App messages from the shared preferences.
-
removeInApps
final Unit removeInApps()
Removes the stored legacy In-App messages from the shared preferences.
-
updateAssetCleanupTs
final Unit updateAssetCleanupTs(Long ts)
-
lastCleanupTs
final Long lastCleanupTs()
-
-
-
-