addConsentedObjectiveAsync

suspend fun addConsentedObjectiveAsync(objectiveId: String): Result

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.

Return

The result of the operation.

Parameters

objectiveId

The Objective ID to add to the consented objectives.