Class Index

A B C E F H I J L M P R T

A

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. 
Arrays  
Arrays.Emitter<In, Out>  
Arrays.Sink<Out>  

B

Button Main entry point to the Button SDK. 
Button.ActionListener Callback interface for getAction(String, ButtonContext, ActionListener) which will call onAction(AppAction) if an action is available given the provided Button ID and ButtonContext. 
Button.DeepLinkListener Callback interface for checkForDeepLink(Context, DeepLinkListener) which will invoke onDeepLink(Intent) with a VIEW intent for a deferred deep link if such is found. 
ButtonContext This is the main class holding context information for the current screen of your application. 
ButtonDropin This is the default UI class that you will have to drop into your layout XML to display a Button. 
ButtonDropin.Listener  

C

CompatHelpers  
CompatHelpers.RippleBackground  

E

Event  

F

Footer A footer represents a text element and an icon, typically used with an ImageButton or a TextView and an ImageView. 

H

Header Text element for two TextViews, see TextElement for more information. 

I

Identifiers Identifiers for use with ButtonContext or any of its types, for example Location
Identifiers.IdentifierName  
InteractiveButton The InteractiveButton is an alternative to ButtonDropin and will give the user a swipable list of top-level options to choose from for a direct link into the commerce application. 
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. 
Item  

J

Journey  
Journey.Type  

L

LineItem This class is deprecated. Please use our order API - https://www.usebutton.com/developers/api-reference/#create-order.

Class representing an order's individual line items. This is used for order attribution in reportOrder(List, String, String). You can use these items to e.g. represent an cart of items, their ID, value and quantity or to break down the order total to vat, discount etc.
 
ListBody A ListBody object represents a list of inventory, these are grouped into one or more InventoryGroup
Location Entity representing a coordinate (lat/lng) or address and an optional set of provider specific identifiers. 
LocationProvider Convenience class that will check all available (taking available permissions into account) for the newest location. 

M

MusicArtist  

P

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. 

R

Receiver<T>  

T

Text The Text class represents everything you need to style and set value for a TextView.