UnifiedWebListener

Interface for listening to web-related analytics and authentication events.

Combines the functionality of UnifiedAnalyticsListener for handling analytics events and UnifiedFanCookiesListener for managing fan authentication and cookie-related events.

Inheritors

Functions

Link copied to clipboard
abstract fun didAddToCart(cart: Cart, products: List<Product>, customAttributes: Map<String, String>)

Called when items are added to a cart.

Link copied to clipboard
abstract fun didPerformActionWith(action: Map<String, String>)

Called when an action is performed by the user.

Link copied to clipboard
abstract fun didTransaction(transaction: Transaction, products: List<Product>, customAttributes: Map<String, String>)

Called when a transaction is completed.

Link copied to clipboard
abstract fun didViewPage(pageView: Map<String, String>)

Called when a page view event occurs.

Link copied to clipboard
abstract fun onInitMFA(json: String)

Called to initialize multi-factor authentication (MFA) with provided JSON data.

Link copied to clipboard
abstract fun onLoginStatusRequested()

Called when the login status is requested.

Link copied to clipboard
abstract fun onShowSignIn()

Called to initiate a sign-in process without specific configuration.

abstract fun onShowSignIn(json: String)

Called to initiate a sign-in process with provided JSON data.

Link copied to clipboard
abstract fun onUpdateLogin()

Called when the login state needs to be updated.