UsercentricsEvent API
This API is created for Partners that are integrating Usercentrics SDK
If you are considering to consume those APIs, make sure that your use case really need this.
Consent Listener
onConsentUpdated
| Inputs |
Type |
Notes |
| callback |
(UpdatedConsentEvent) -> Void |
Callback with relevant information regarding consents |
| Output |
Type |
Notes |
| Disposable Event |
UsercentricsDisposableEvent |
Object with a function to dispose the callback created |
dispose
Objects
UpdatedConsentEvent
UsercentricsServiceConsent
| Property |
Type |
Notes |
| templateId |
String |
ID used to match a service with frameworks running on your app. |
| status |
Bool |
Consent status given to this specific service. |
| dataProcessor |
String |
Name of entity processing the data that was collected via this service. |
| version |
String |
Legal template version. See Service Settings. |
| Inputs |
Type |
Notes |
| callback |
(MediationResultPayload) -> Void |
Callback with relevant information regarding mediation |
| Output |
Type |
Notes |
| Disposable Event |
UsercentricsDisposableEvent |
Object with a function to dispose the callback created |
dispose
Objects
| Property |
Type |
Notes |
| applied |
ConsentApplied |
List of Consent Applied payload. |
ConsentApplied
| Property |
Type |
Notes |
| name |
String |
Name of the SDK mediated. |
| templateId |
String |
Template ID that represents the SDK. |
| consent |
Bool |
Consent status given to this specific service. |
| mediated |
Bool |
Mediation success status. |