SDKs for Android / Display item catalog in your application
  Back to Docs

SDKs for Android

Display item catalog in your application

To display items in the in-game store, use the following SDK methods:
SDK reference documentation
Learn more about SDK methods and its parameters.
SDK method nameDescription
getVirtualItems
Returns a list of virtual items according to pagination settings. The list includes items for which display in the store is enabled in settings. For each virtual item, complete data is returned.
getVirtualItemsShort
Returns a full list of virtual items. The list includes items for which display in the store is enabled in settings. For each virtual item, the SKU, name, description, and data about the groups it belongs to are returned.
getItemsGroups
Returns a full list of virtual item groups. The list includes groups for which display in the store is enabled in settings.
getItemsBySpecifiedGroup
Returns a list of items for the specified group according to pagination settings. The list includes items for which display in the store is enabled in settings. Display in the store must be enabled in the settings for the group.
getVirtualCurrency
Returns a list of virtual currencies according to pagination settings.
getVirtualCurrencyPackage
Returns a list of virtual currency packages according to pagination settings. The list includes packages for which display in the store is enabled in settings.
getBundleList
Returns a list of bundles according to pagination settings. The list includes bundles for which display in the store is enabled in settings.
getBundle
Returns information about the contents of the specified bundle. In the bundle settings, display in the store must be enabled.

How-tos

Learn about advanced setups from our how-tos.

How to work with bundles

Notice
Use this how-to when working with the Store library.

To get new users to your application and increase sales, you can sell sets of items as bundles for less than the cost of their content.

A bundle may include:

  • virtual currency (including the platform-dependent currency)
  • package of virtual currency
  • game keys for preselected platforms
  • virtual items including time-limited items
  • bundles

For details on the features and limitations of bundles, see the In-Game Store guide.

To work with bundles:

  1. Complete the settings in Publisher Account by following the instructions for setting up a bundle.
  2. Implement in-game logic using the following SDK methods:

    • XStore.getBundleList — gets a list of bundles for building a catalog.
    • XStore.getBundle — gets a bundle for the specified SKU.
Note
For bundles that contain items sold for real currency, the total cost of these items is passed in the total_content_price parameter. You can use this value to display the benefits of buying a bundle in your application.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Hide

Useful links

Last updated: September 4, 2024

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!