Method GetInventoryItemsAsync
GetInventoryItemsAsync()
Gets the Inventory Items that have been configured and published in the Unity Dashboard.
Declaration
[Obsolete("GetInventoryItemsAsync has been replaced by first caching your configuration using SyncConfigurationAsync and then using the GetInventoryItems method. This API will be removed in an upcoming release.", false)]
Task<List<InventoryItemDefinition>> GetInventoryItemsAsync()
Returns
Type | Description |
---|---|
Task<List<InventoryItemDefinition>> | A list of InventoryItemDefinition |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |