Package com.inmobi.commons.core.purchase
Class PurchasePrefDao
-
- All Implemented Interfaces:
public final class PurchasePrefDaoThis class is responsible for saving and fetching the In-App Purchase count from the shared preferences. The format of the data is JSON in the form of a string.
-
-
Constructor Summary
Constructors Constructor Description PurchasePrefDao()
-
Method Summary
Modifier and Type Method Description final UnitsavePurchaseSnapshot(String snapshotJson)final StringgetPurchaseSnapshot()final UnitsaveInAppPurchaseCount(String nipMapJSON)final StringgetInAppPurchaseCount()-
-
Method Detail
-
savePurchaseSnapshot
final Unit savePurchaseSnapshot(String snapshotJson)
-
getPurchaseSnapshot
final String getPurchaseSnapshot()
-
saveInAppPurchaseCount
final Unit saveInAppPurchaseCount(String nipMapJSON)
-
getInAppPurchaseCount
final String getInAppPurchaseCount()
-
-
-
-