queryReactions
Deprecated
Deprecated, replace with the cohortsActivations function to get support for all cohort types.
Replace with
cohortActivations(activationType: String, callback: Method<List<String>>)
Content copied to clipboard
Notifies the specified callback when any segment changes occur for the specified reaction.
Return
a TriggerAction representing the active subscription.
Samples
samples.permutive.TriggersProviderKt.queryReactionsParameters
reaction
the name of the reaction type (e.g. "dfp")
callback
The method to be called each time segment entry/exit has occurred. Will be called once upon creation, and each time a change happens. The callback may not be on the calling thread.