public class

Inventory

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.models.Inventory

This class is deprecated.
No replacement.

Class Overview

An inventory item represents a choice for the user, your UI should be flexible and support a varying number of inventory items for the user to pick. It's important that you invoke the inventory when it's clicked by the user by passing it to AppAction#invokeInventory(Context, Inventory).

Summary

Public Methods
Text getIconText()
Uri getIconUri()
Text getPrimary()
Text getSecondary()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Text getIconText ()

Returns
  • a text that should be rendered close to the icon or null

public Uri getIconUri ()

Returns
  • an Uri for the icon associated with this inventory item or null

public Text getPrimary ()

Returns
  • the primary line of text or null

public Text getSecondary ()

Returns
  • the primary line of text or null