core/consent_state_service library

Classes

ConsentRecord
Immutable point-in-time read of one category's consent.
ConsentStateService
SSOT for privacy consent, gating which providers (analytics, personalization) are allowed to run.

Enums

ConsentCategory
A privacy-relevant capability gated by consent. Deliberately does not include "ads" — this kit ships no ads mediation seam by product decision (see FEAT-02's rejection), so there is nothing here to gate for that category.
ConsentSource
ConsentStatus