Storyly Product Listener
interface StorylyProductListener
Content copied to clipboard
This delegate represents the class which notifies application when an product related event occurs in StorylyView.
Functions
storyly Event
Link copied to clipboard
This function will notify you about all Storyly events and let you to send these events to specific data platforms
storyly Hydration
Link copied to clipboard
abstract fun storylyHydration(storylyView: StorylyView, products: List<STRProductInformation>)
Content copied to clipboard
This function will notify you to get ids of products
storyly Update Cart Event
Link copied to clipboard
abstract fun storylyUpdateCartEvent(storylyView: StorylyView, event: StorylyEvent, cart: STRCart?, change: STRCartItem?, onSuccess: (STRCart?) -> Unit?, onFail: (STRCartEventResult) -> Unit?)
Content copied to clipboard
This function will notify you about updates the cart in a StorylyView component
storyly Update Wishlist Event
Link copied to clipboard
abstract fun storylyUpdateWishlistEvent(storylyView: StorylyView, item: STRProductItem?, event: StorylyEvent, onSuccess: (STRProductItem?) -> Unit?, onFail: (STRWishlistEventResult) -> Unit?)
Content copied to clipboard
This function will notify you about updates the wishlist in a StorylyView component