com.usebutton.sdk.purchasepath.PurchasePathExtension |
This interface allows you to create a Purchase Path extension for dynamic customization of the embedded browser user experience.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onClosed()
Notify the host application that browser was closed.
| ||||||||||
abstract void |
onInitialized(BrowserInterface browser)
Notify the host application the browser was initialized before content has been displayed.
| ||||||||||
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.
| ||||||||||
abstract void |
onProductNavigate(BrowserInterface browser, ProductPage page)
Notify the host application that the browser has started to receive content that is a
product page.
| ||||||||||
abstract void |
onPurchaseNavigate(BrowserInterface browser, PurchasePage page)
Notify the host application that the browser has started to receive content that is a
purchase page.
| ||||||||||
abstract void |
onStartNavigate(BrowserInterface browser)
Notify the host application that a new page has started loading.
|
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.Notify the host application the browser was initialized before content has been displayed.
browser | The interface to the browser object that can be used to customize the display. |
---|
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.)
browser | The interface to the browser object that can be used to customize the display. |
---|---|
page | The browser content. |
Notify the host application that the browser has started to receive content that is a product page.
browser | The interface to the browser object that can be used to customize the display. |
---|---|
page | The browser content. |
Notify the host application that the browser has started to receive content that is a purchase page.
browser | The interface to the browser object that can be used to customize the display. |
---|---|
page | The browser content. |
Notify the host application that a new page has started loading.
browser | The interface to the browser object that can be used to customize the display. |
---|