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

Inventory

public Inventory()

Creates an Inventory instance.

This method is only used for WP8.

Inventory

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.

Parameters:

json  String object that contains the inventory details in JSON format

  • Was this article helpful?