I am using the new Play Billing Library 1.0 in my Android app. After the purchase process is complete, in onPurchasesUpdated
, I get the responseCode
as an int
from Google Play. How do I programmatically get the description for this responseCode
in my app?
Is there is a better way than using a switch case and manually typing the descriptions? Is there was a method that returns the description?