LiveRampExtension

object LiveRampExtension : AsyncInterceptor

Singleton class used to configure LiveRamp integration on Nimbus requests

Properties

Link copied to clipboard

Current state of the LiveRamp Extension.

Link copied to clipboard
var envelope: Envelope?
Link copied to clipboard

The LiveRamp identifier for this session

Link copied to clipboard
Link copied to clipboard
var listener: LREnvelopeCallback?

Functions

Link copied to clipboard
fun initialize(configurationId: String, email: String?, phone: String?, hasConsentToNoLegislation: Boolean, callback: LREnvelopeCallback? = null)

Initializes LiveRamp and retrieves envelope based on supplied email or phone.

Link copied to clipboard
fun initializeTestMode(configurationId: String, email: String, callback: LREnvelopeCallback? = null)

Initialize the LiveRamp Extension for testing purposes

Link copied to clipboard
fun initializeWithCustomerId(configurationId: String, customerId: String, hasConsentToNoLegislation: Boolean, callback: LREnvelopeCallback? = null)

Only initialize with this method if LiveRamp has approved this type of integration.

Link copied to clipboard
open suspend override fun interceptRequest(request: NimbusRequest): NimbusRequestChange?
Link copied to clipboard
open fun modifyRequest(request: NimbusRequest)
Link copied to clipboard
open fun onAdResponse(nimbusResponse: NimbusResponse)
Link copied to clipboard
open fun onError(error: NimbusError)