| com.usebutton.sdk.purchasepath.BrowserInterface | 
Interface containing methods that a publisher can use to customize the embedded browser experience.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BrowserInterface.Footer | Footer chrome for the embedded browser. | ||||||||||
| BrowserInterface.Header | Header chrome and title bar for the embedded browser. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | INVALID_COLOR | If the browser is not currently available INVALID_COLOR will be returned to indicate absence of a color. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| An object belonging to the browser interface that maintains the list of cards currently in
 the card system. | |||||||||||
| Returns a reference to the browser footer. | |||||||||||
| Returns a reference to the browser header. | |||||||||||
| A transparent view on top of the embedded browser content for displaying arbitrary views. | |||||||||||
| Hides the top card in the card list  CardList. | |||||||||||
| Reloads all cards in the  CardListand re-renders any visible cards. | |||||||||||
| Set the  BrowserChromeClient | |||||||||||
| Shows the top card in the  CardListover the browser content. | |||||||||||
If the browser is not currently available INVALID_COLOR will be returned to indicate absence of a color.
An object belonging to the browser interface that maintains the list of cards currently in the card system.
CardList The current list of cards in the system, or null if the
 browser is not currently available.
Returns a reference to the browser footer.
Returns a reference to the browser header.
A transparent view on top of the embedded browser content for displaying arbitrary views.
ViewGroup viewContainer = getViewContainer(); Context context = viewContainer.getContext(); LayoutInflater.from(context).inflate(R.layout.my_custom_view, viewContainer);The custom view must be inflated with the view container's context to avoid any memory leaks.
Set the BrowserChromeClient