addConsentedObjective

abstract fun addConsentedObjective(objectiveId: String)

Adds a single objective ID to the consented objectives for this profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.

Parameters

objectiveId

The Objective ID to add to the consented objectives.