package

com.usebutton.sdk.models

Classes

AppAction This is the main class holding all information regarding an AppAction, if you're implementing a custom button UI please refer to the Custom Button UI guide for more information. 
Footer A footer represents a text element and an icon, typically used with an ImageButton or a TextView and an ImageView. 
Header Text element for two TextViews, see TextElement for more information. 
Inventory 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. 
InventoryGroup An inventory group represents a logical grouping of inventory items, e.g. 
ListBody A ListBody object represents a list of inventory, these are grouped into one or more InventoryGroup
Preview The Preview class holds a short preview of an AppAction, the getText() method will represent the text while getIconUri() holds the URI for an icon for the app we're linking into. 
Product A product represents a single product and is described with a title, subtitle, description and a list of images. 
Text The Text class represents everything you need to style and set value for a TextView.