Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

Inventory Constructor Details


public Inventory()

Creates an Inventory instance.

This method is only used for WP8.


public Inventory(string json)

Creates an Inventory instance using the specified JSON string.

The method parses the JSON string, converts the elements into Purchase and SkuDetails objects, and then maps these data to the _skuMap and _purchaseMap.


json  String object that contains the inventory details in JSON format

  • Was this article helpful?