Package-level declarations

Types

Link copied to clipboard
interface ConsentHost

Host abstraction for consent dialogs.

Link copied to clipboard
data class ConsentSettings(val usageAndDiagnostics: Boolean, val analyticsConsent: Boolean, val adStorageConsent: Boolean, val adUserDataConsent: Boolean, val adPersonalizationConsent: Boolean)

Aggregated consent flags used to configure analytics and ad-related collection.

Properties

Link copied to clipboard

Whether the host is on screen and can legally host a consent form.

Link copied to clipboard

Whether the activity can still serve as the context for a UMP request. Reject finishing or destroyed activities because UMP retains the host through its asynchronous work.

Functions

Link copied to clipboard

A ConsentHost for activity, such as LocalActivity.current in a page or the app's activity.