Inventory | Button SDK for Android v7.0.0
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 |
| Uri |
| Text |
| Text |
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