UserProperties

interface UserProperties

Interface defining user-related properties and configurations for the SDK. Provides access to user information, preferences, and targeting parameters.

Properties

Link copied to clipboard
abstract val abt: String?

AB testing identifier.

Link copied to clipboard
abstract val contentId: String?

Content identifier for targeting.

Link copied to clipboard
abstract val cookies: Map<String, String?>

Map of cookie key-value pairs for user tracking.

Link copied to clipboard
abstract val country: String?

User's country code.

Link copied to clipboard

Map of custom parameters for user targeting.

Link copied to clipboard
abstract val disableAdId: Boolean

Flag indicating if advertising ID should be disabled.

Link copied to clipboard
abstract val gender: GenderType?

User's gender information.

Link copied to clipboard
abstract val id: String?

Unique identifier for the user.

Link copied to clipboard
abstract val language: String?

User's preferred language code.

Link copied to clipboard

Flag indicating if the content is directed towards children.

Link copied to clipboard

Flag indicating if the user is under the age of consent.

Link copied to clipboard
abstract val userAgentFactory: UserAgentFactory

Factory for creating user agent strings.

Link copied to clipboard
abstract val yob: Int?

User's year of birth.

Functions

Link copied to clipboard
abstract fun buildUpon(): <Error class: unknown class>

Creates a new builder instance, copying all properties from this UserProperties.

Link copied to clipboard
abstract fun clearCookies()

Clears all cookies from the cookies map.

Link copied to clipboard
abstract fun clearCustomParameter()

Clears all custom parameters from the customParameter map.

Link copied to clipboard
abstract fun getCookieString(): String?

Returns the cookie header string representation of the cookies map.