AiConsentStore

Where the AI-consent choice persists. Same seam shape as com.siddharth.kmp.designsystem.ThemeStore: the default is in-memory, an app binds a persistent implementation (DataStore/Settings) in Koin so the choice survives process death.

Inheritors

Functions

Link copied to clipboard
abstract fun consentGiven(): Boolean?

The persisted consent choice, or null if the user has never been asked.

Link copied to clipboard
abstract fun setConsent(consent: Boolean)