UnifiedJsInterface

Combines JavaScript interfaces for analytics and authentication in the prepurchase flow.

Delegates to UnifiedAnalyticsJsInterface and UnifiedFanCookiesJsInterface.

Parameters

listener

The UnifiedWebListener to receive events, or null if not set.

ualJsInterface

The UnifiedAnalyticsJsInterface for analytics events.

ufcJsInterface

The UnifiedFanCookiesJsInterface for authentication events.

Inheritors

Constructors

Link copied to clipboard
constructor(listener: UnifiedWebListener, mapper: UALPageViewMapper)

Creates a UnifiedJsInterface with the provided listener and mapper.

Functions

Link copied to clipboard
open override fun appviewAddToCartEvent(json: String)

Logs an event when items are added to a cart.

Link copied to clipboard
open override fun appviewGetLoginStatus()

Requests the current login status.

Link copied to clipboard
open override fun appviewInitMFA(json: String)

Initializes multi-factor authentication (MFA) with provided JSON data.

Link copied to clipboard
open override fun appviewLogAction(json: String)

Logs an action performed by the user outside of a page view.

Link copied to clipboard
open override fun appviewLogPageView(json: String)

Logs a page view event.

Link copied to clipboard
open override fun appviewShowSignIn()

Initiates a sign-in process without specific configuration.

open override fun appviewShowSignIn(json: String)

Initiates a sign-in process with provided JSON data.

Link copied to clipboard
open override fun appviewTmPromotedClick(json: String)

Logs a click event for a Ticketmaster-promoted item.

Link copied to clipboard
open override fun appviewTransactionEvent(json: String)

Logs a transaction event.

Link copied to clipboard
open override fun appviewUpdateLogin()

Updates the login state.

Link copied to clipboard
open override fun displayNativeLocationSelector(json: String)

Logs the display of a native location selector.

Link copied to clipboard

Sets the UnifiedWebListener for testing purposes.