ComScore

interface ComScore

Interface for interacting with the ComScore SDK.

This interface provides methods for sending page view to ComScore. It also allows for managing permanent data and user consent.

Functions

Link copied to clipboard
abstract fun getPersistentLabel(label: String): String?

Retrieves the persistent value associated with the given label.

Link copied to clipboard
abstract fun putPersistentLabels(labels: Map<String, String>)

Puts the provided labels as persistent data.

Link copied to clipboard
abstract fun removePersistentLabel(label: String)

Removes a persistent label.

Link copied to clipboard
abstract fun sendPageView(pageView: ComScorePageView)

Sends a page view event to ComScore.

Link copied to clipboard
abstract fun setUserConsent(userConsent: ComScoreUserConsent)

Sets the user consent.