setConsent

external fun setConsent(consentSettings: JsAny)(source)

Takes a ConsentSettings object: ad_storage, analytics_storage, ... set to granted or denied.