BroadpeakInitializationData

public protocol BroadpeakInitializationData

Ad session initialisation data. This contains necessary information for initialising BroadpeakSession.

  • The domain name list used to identify Broadpeak sessions.

    Declaration

    Swift

    var broadpeakDomainHostNames: BroadpeakCDN { get }
  • Address of the Broadpeak analytics server.

    Declaration

    Swift

    var analyticsAddress: AnalyticsHost? { get }
  • Controls whether Google PAL SDK is allowed to store consent-related data globally (TCFv2 compliance). This sets the consent at SmartLib initialisation time and applies to all sessions. Must be set to true only after obtaining the appropriate user consent. Default is false.

    Declaration

    Swift

    var allowStorage: Bool? { get }
  • A unique user identifier or any other information which can be used to uniquely identify a user, an account or a group of users. This information collection, storage and use must be done in accordance with GDPR regulation in effect in your country. For more information about GDPR: https://en.wikipedia.org/wiki/General_Data_Protection_Regulation

    Declaration

    Swift

    var uuid: UUID? { get }
  • Overrides the default device type detected by the SmartLib.

    Declaration

    Swift

    var deviceType: String? { get }
  • The user agent to use when firing Broadpeak analytics ad tracking Beacons.

    Declaration

    Swift

    var userAgent: String? { get }
  • / Set the GDPR preference for the BkA. Values: GDPR_DELETE, the analytics session report will be empty GDPR_ENCRYPTED (decryption possible on request on analytics server), GDPR_ANONYMIZED (no decryption possible), GDPR_CLEAR (by default, no encryption)

    Declaration

    Swift

    var gdprPreference: BroadpeakGDPRPreference? { get }
  • Overrides the default SmartLib keepalive frequency (5000ms by default).

    Declaration

    Swift

    var sessionKeepLiveFrequency: Int? { get }
  • Logger level for debugging.

    Declaration

    Swift

    var loggerLevel: BroadpeakLoggerLevel? { get }