CleanInsightsSDK Documentation Beta

Classes

Campaign
Clean​Insights
Configuration
Consent
Feature​Consent
Campaign​Consent
Consents

This class keeps track of all granted or denied consents of a user.

Data​Point
Default​Store

Default implementation of a store. Stores the data in plist format in a given folder. If no folder is given, defaults to the app's Application Support directory on MacOS or its Documents directory elsewhere.

Event
Insights
Store

The store holds the user's consents to the different Features and Campaigns, and their Visit and Event measurements.

Visit

Enumerations

Campaign.​Event​Aggregation​Rule
Configuration.​Coding​Keys
Feature
Feature​Consent.​Coding​Keys
Campaign​Consent.​Coding​Keys
Data​Point.​Coding​Keys
Event.​Coding​Keys
Visit.​Coding​Keys

Protocols

Consent​Request​Ui

Implement this to provide a UI which explains your campaigns.