triggerActionMap
Deprecated
Non-boolean query results are no longer supported, trigger callbacks will no longer be called
Replace with
triggerAction(cohortId: String, callback: Method<Boolean>)
Content copied to clipboard
Notifies the specified callback with the query state (when the state is a complex type).
Return
a TriggerAction representing the active subscription.
Samples
samples.permutive.TriggersProviderKt.triggerActionMapParameters
callback
The method to be called each time the query state changes. Will be called once upon creation, and each time a change occurs. The callback may not be on the calling thread.