IAP Badger

A simple, unified, IAP library for Corona SDK

iap_badger.emptyInventory()

 
Type function
Library iap_badger.*
Return value
Keywords remove, empty, inventory, iap
See also iap_badger.saveInventory() iap_badger.removeFromInventory() iap_badger.emptyInventoryOfNonConsumableItems()

Overview

Empties the inventory of all consumable items.

Note: changes won't be written permanently to the device until the saveInventory() function is called.

Syntax

iap_badger.emptyInventory()
iap_badger.emptyInventory( disposeAll )
disposeAll (required)

Boolean. Set disposeAll to true to remove everything, including non-consumable items, from the inventory.


This website uses cookies. Click here to see our privacy policy. Created using the Responsive Grid System.