PurchasePathExtension
protocol PurchasePathExtension : NSObjectProtocolUndocumented
- 
                  
                  Called before the browser is closed. @discussion Use this method to intercept and prevent a browser dismissal. DeclarationSwift optional func shouldCloseBrowser(_ browser: any BrowserInterface) -> BoolParametersbrowserThe interface to the browser object that can be used to customize the display. Return ValueYES if the browser should close, NO otherwise. 
- 
                  
                  Called when the browser initializes and before anything is displayed. DeclarationSwift optional func browserDidInitialize(_ browser: any BrowserInterface)ParametersbrowserThe interface to the browser object that can be used to customize the display. 
- 
                  
                  Called when the browser prepares for navigation to a new page. DeclarationSwift optional func browserWillNavigate(_ browser: any BrowserInterface)ParametersbrowserThe interface to the browser object that can be used to customize the display. 
- 
                  
                  Called when the browser navigates to a new page that is neither a product nor a purchase. DeclarationSwift optional func browser(_ browser: any BrowserInterface, didNavigateTo page: any BrowserPage)ParametersbrowserThe interface to the browser object that can be used to customize the display. pageThe object representing the information about the page to which the browser did navigate. 
- 
                  
                  Called when the browser navigates to a product page. DeclarationSwift optional func browser(_ browser: any BrowserInterface, didNavigateToProduct page: any ProductPage)ParametersbrowserThe interface to the browser object that can be used to customize the display. pageThe object representing the information about the product to which the browser did navigate. 
- 
                  
                  Called when the browser navigates to a purchase page. DeclarationSwift optional func browser(_ browser: any BrowserInterface, didNavigateToPurchase page: any PurchasePage)ParametersbrowserThe interface to the browser object that can be used to customize the display. pageThe object representing the information about the purchase to which the browser did navigate. 
- 
                  
                  Called when the browser is closed. This does not mean a purchase was completed. @discussion This can happen when the user dismisses the browser or chooses to install the native app. DeclarationSwift optional func browserDidClose()
 PurchasePathExtension Protocol Reference
      PurchasePathExtension Protocol Reference