Kindling
Toggle table of contents
SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
Kindling
core
/
dev.kindling.core.components.ui.consent
/
KConsentManager
KConsent
Manager
@
Stable
class
KConsentManager
(
source
)
Members
Properties
categories
Link copied to clipboard
val
categories
:
ImmutableList
<
KConsentCategory
>
is
Consent
Pending
Link copied to clipboard
val
isConsentPending
:
Boolean
True if the user hasn't made a choice yet
preferences
Link copied to clipboard
val
preferences
:
KConsentPreferences
?
Functions
accept
All
Link copied to clipboard
fun
acceptAll
(
)
is
Enabled
Link copied to clipboard
fun
isEnabled
(
category
:
KConsentCategoryType
)
:
Boolean
reject
Optional
Link copied to clipboard
fun
rejectOptional
(
)
update
Link copied to clipboard
fun
update
(
newPreferences
:
KConsentPreferences
)