cohortActivations
abstract fun cohortActivations(activationType: String, callback: Method<List<String>>): TriggerAction
Notifies the specified callback when any cohort updates occur for the specified activation type.
Return
a TriggerAction representing the active subscription.
Samples
samples.permutive.TriggersProviderKt.cohortActivationsParameters
activationType
the name of the activation type (e.g. "dfp")
callback
The method to be called each time a cohort update has occurred. Will be called once upon creation, and each time a change happens. The callback may not be on the calling thread.