Package 

Interface BillingEventListener

    • Method Detail

      • onProductsFetched

         abstract Unit onProductsFetched(String productType, List<ProductBean> productDetails)

        Callback will be triggered when products are queried for Play Console

        Parameters:
        productDetails -
        • a list with available products

      • onPurchasedProductsFetched

         abstract Unit onPurchasedProductsFetched(ProductType productType, List<PurchaseBean> purchases)

        Callback will be triggered when purchased products are queried from Play Console

        Parameters:
        productType -
        • the type of the product, either IN_APP or SUBS

        purchases -
        • a list with owned products

      • onProductsPurchased

         abstract Unit onProductsPurchased(List<PurchaseBean> purchases)

        Callback will be triggered when a product is purchased successfully

        Parameters:
        purchases -
        • a list with purchased products

      • onPurchaseAcknowledged

         abstract Unit onPurchaseAcknowledged(PurchaseBean purchase)

        Callback will be triggered when a purchase is acknowledged

        Parameters:
        purchase -
        • specifier of acknowledged purchase

      • onPurchaseConsumed

         abstract Unit onPurchaseConsumed(PurchaseBean purchase)

        Callback will be triggered when a purchase is consumed

        Parameters:
        purchase -
        • specifier of consumed purchase