querySegments
Deprecated
Deprecated, replace with the cohorts function to get support for all cohort types.
Replace with
cohorts(callback: Method<List<String>>)
Content copied to clipboard
Notifies the specified callback when any segment changes occur.
Return
a TriggerAction representing the active subscription.
Samples
samples.permutive.TriggersProviderKt.querySegmentsParameters
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.