setConsents

abstract fun setConsents(context: <Error class: unknown class>, consents: Map<<Error class: unknown class>, <Error class: unknown class>>, modifiedKeys: Set<<Error class: unknown class>>)

Notifies the partner of the current consents. Also notifies which ones changed. A key present in the modifiedKeys but not in the consents map means the consent was removed.

Parameters

context

The current Context.

consents

Map of ConsentKey to ConsentValue of all current consents.

modifiedKeys

A set of ConsentKey that have changed in this consent update.