NimbusLiveRampInterceptor

final class NimbusLiveRampInterceptor
extension NimbusLiveRampInterceptor : NimbusRequestInterceptor

Enables LiveRamp integration for NimbusRequest Add an instance of this to NimbusAdManager.requestInterceptors

  • Delegate for listening LiveRamp callbacks

    Declaration

    Swift

    weak var delegate: NimbusLiveRampInterceptorDelegate?
  • Initializes a NimbusLiveRampInterceptor instance

    • configId: LiveRamp’s configuration identifier
    • email: E-mail of the user
    • hasConsentForNoLegislation: Boolean for toggling LiveRamps’s hasConsentForNoLegislation
    • isTestMode: Boolean for toggling test mode
    • delegate: Object that conforms to NimbusLiveRampInterceptorDelegate

    Declaration

    Swift

    convenience init(configId: String, email: String, hasConsentForNoLegislation: Bool = false, isTestMode: Bool = false, delegate: NimbusLiveRampInterceptorDelegate? = nil)
  • Initializes a NimbusLiveRampInterceptor instance

    • configId: LiveRamp’s configuration identifier
    • phoneNumber: Phone number of the user
    • hasConsentForNoLegislation: Boolean for toggling LiveRamps’s hasConsentForNoLegislation
    • isTestMode: Boolean for toggling test mode
    • delegate: Object that conforms to NimbusLiveRampInterceptorDelegate

    Declaration

    Swift

    convenience init(configId: String, phoneNumber: String, hasConsentForNoLegislation: Bool = false, isTestMode: Bool = false, delegate: NimbusLiveRampInterceptorDelegate? = nil)