-
public interface AppDNABillingDelegateDirect (non-paywall) billing observer.
-
-
Method Summary
Modifier and Type Method Description UnitonPurchaseCompleted(String productId, Map<String, Object> transaction)UnitonPurchaseFailed(String productId, Throwable error)UnitonEntitlementsChanged(List<Map<String, Object>> entitlements)Entitlements changed. UnitonRestoreCompleted(List<String> restoredProductIds)UnitonBillingUnavailable()Fires when billing is permanently unavailable (Play Services missing/broken). -
-
Method Detail
-
onPurchaseFailed
Unit onPurchaseFailed(String productId, Throwable error)
-
onEntitlementsChanged
Unit onEntitlementsChanged(List<Map<String, Object>> entitlements)
Entitlements changed. Each map is an Entitlement (productId/store/status/expiresAt/isTrial/offerType) — parse via Entitlement.fromMap (SPEC-070-C §3.8).
-
onRestoreCompleted
Unit onRestoreCompleted(List<String> restoredProductIds)
-
onBillingUnavailable
Unit onBillingUnavailable()
Fires when billing is permanently unavailable (Play Services missing/broken). Android-only — never fires on iOS (SPEC-070-C §3.8/§3.14). Hide paywalls / disable purchase UI.
-
-
-
-