Pre Purchase SDK
Manages global state and initialization for the prepurchase flow.
Properties
The current location payload as a JSON string, or null if not set.
The current market domain for the prepurchase flow.
Indicates whether the discovery home screen is active.
The language parameter for the current market (e.g., "en-us").
Indicates whether a non-discovery home screen is being launched.
The current location market model, or null if not set.
Tracks the number of page loads in the discovery flow.
The page load count limit for the discovery flow.
Indicates whether OneTrust has been initialized.
Functions
Cleans up resources and clears the location listener and member info.
Retrieves the current location update listener.
Retrieves the market domain for a given country code.
Retrieves the current member information.
Launches the prepurchase SDK with the specified configuration.
Registers a location update listener.
Sets the member information for the prepurchase flow.