ProfileIdManager

Reference to the cookie manager. It is used to set and read the BCSessionId(profile ID), so BlueConic can sync the profile ID within WebViews with the profile ID in the native code.

Parameters

context

The application, not null

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun clearProfileId(hostname: String, domainGroup: String)

Clears the profile ID by removing the BC session cookie.

Link copied to clipboard
fun getProfileId(hostname: String, domainGroup: String): String?

Return the profile id. The id is stored in a cookie.

Link copied to clipboard
fun setProfileId(profileId: String?, hostname: String, domainGroup: String)

Sets the profile ID.