PurchasePathExtension | Button SDK for Android v7.0.0
PurchasePathExtension
This interface allows you to create a Purchase Path extension for dynamic customization of the embedded browser user experience.
Summary
| Public Methods |
|---|
| abstract void |
| abstract void |
| abstract void |
| abstract void |
| abstract void |
| abstract void |
Public Methods
public abstract void onClosed()
Notify the host application that browser was closed. This does not mean a purchase was completed.
This can happen when the user dismisses the browser or chooses to install the native app.
public abstract void onInitialized( BrowserInterface browser)
Notify the host application the browser was initialized before content has been displayed.
Parameters
| browser | The interface to the browser object that can be used to customize the display. |
public abstract void onPageNavigate( BrowserInterface browser, BrowserPage page)
Notify the host application that the browser has started to receive content that is neither a product nor a purchase. (ex. home page, category page, etc.)
Parameters
| browser | The interface to the browser object that can be used to customize the display. | | page | The browser content. |
public abstract void onProductNavigate( BrowserInterface browser, ProductPage page)
Notify the host application that the browser has started to receive content that is a product page.
Parameters
| browser | The interface to the browser object that can be used to customize the display. | | page | The browser content. |
public abstract void onPurchaseNavigate( BrowserInterface browser, PurchasePage page)
Notify the host application that the browser has started to receive content that is a purchase page.
Parameters
| browser | The interface to the browser object that can be used to customize the display. | | page | The browser content. |
public abstract void onStartNavigate( BrowserInterface browser)
Notify the host application that a new page has started loading.
Parameters
| browser | The interface to the browser object that can be used to customize the display. |